Have a subscription but can't run anything!
Hello, I've used apify before, infact I have an active subscription, but from this morning (don't know why) I can't run any actor and can't set the maximum charged results. I try to change browser, empy the cache but nothing works. This is the error I got: "Error: Cannot run Actor (Expected property
maxItems
to be of type number
but received type string
in object)". Anybody can help me please'11 Replies
Probably you are failing to pass input validation. Read the error message.
It's about "maxItems" value.
it should be a number, but maybe You're using string instead.
are You trying to set input via user interface or via raw json object ?
if so,
it should be :
{"maxItems": 100 }
instead of:
{"maxItems": "100" } // pay attention to quotes
Hi Oleg, thank for your reply. It's not that simple.. I know that I should put numbers not strings, but from this morning I think the filed Maximum Charged Results inside Run Option is not working and blocking all the runs. I tried both, via ui and json object but nothing. If you leave empty the filed it will return weired results, not as excpeted. I've been using Apify for 6 month almost every day, so I know for sure something changed.
@Anakin just advanced to level 1! Thanks for your contributions! 🎉
Is it a community actor You're trying to use ?
Sounds like a bug.
In this case You'd better leave you issue in Actor's "issues" tab, so the original developer can take a look. Don't forget to attach a screenshot / add as much info as possible, so the dev can help You.
I tried different actors but no one is working when it comes to set a maximum charged results.. As you said I also tried to report an issue on the actor, but seems that is not specifically on one actor but more a general situation..

try yourself: https://console.apify.com/actors/E8jkEpVOhQ7heVFuN/input are you able to modify the maximum charged results and run the actor?
Yeah, it's the same for me. Looks like a platform bug.
I will inform our team the issue, so they can check it.
Will keep You posted.
Thanks Oleg, really appreciate!
@Anakin Should be fixed now. Can You try it on your end ?
Works on mine.
Hi @Oleg V. now the max charged results it's working fine. Thanks 🙂 but seems that there is another problem on the results. As you can see from the screenshot it says 10 results (from the max charged results) but in the table are just 3. The app has more 5k reviews so impossible that he finds just this fews.. I check the setting and are all ok. I think it's more linked to the actor this time, but very weired because I used it for months and was working fine.
