Expedia Hotels 2.3 avatar
Expedia Hotels 2.3
Try for free

7 days trial then $40.00/month - No credit card required now

View all Actors
Expedia Hotels 2.3

Expedia Hotels 2.3

jupri/expedia-hotels
Try for free

7 days trial then $40.00/month - No credit card required now

Scrape 🟡 Expedia.com 🔴 Hotels.com and other hotel website variants

User avatar

Actor does not accept memory_mbytes parameter from API

Closed

apriliars opened this issue
2 months ago

Actor should accept memory_mbytes (int, optional): Memory limit for the run, in megabytes specified in the python API, however the actor returns:

2024-03-18T21:34:27.695Z ❌ AssertionError: unknown parameter => "MEMORY_MBYTES" 2024-03-18T21:34:27.952Z 💔 Failed, unknown parameter => "MEMORY_MBYTES" ... sad.

User avatar

cat (Jupri)

2 months ago

Hello. the actor does not support memory_mbytes parameter, its part of Apify Python SDK parameter.

If you run using API, you can specify memory parameter for example: (POST REQUEST) https://api.apify.com/v2/acts/actorId/run-sync?token=YOUR_API_KEY&memory=256

For more info please read https://docs.apify.com/api/client/python/reference/class/ActorClient#call

run_input => The input to pass to the actor run.

memory_mbytes => Memory limit for the run, in megabytes. By default, the run uses a memory limit specified in the default run configuration for the actor.

so, memory_mbytes parameter is separated from run_input

User avatar

apriliars

2 months ago

Thank you so much

Developer
Maintained by Community
Actor metrics
  • 22 monthly users
  • 96.5% runs succeeded
  • 3.7 days response time
  • Created in Jul 2022
  • Modified 13 days ago