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'19 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.

Can You please share the link to this your run, so I can check it ?
Sure, this is the link: https://console.apify.com/view/runs/MmQWyHKasHZr3pOXv
That's because other 7 items are "empty" / failed (sort of ).
Click on "all fields" button and You will see them.

Yes I saw them but I don't think this is correct.. it's kind of a bug? Why out of 10 he tooks just 3 reviews? This app has more then 5k reviews so at least has to scrap 10.
I'm not familiar with the scraping logic of this particular actor, as it's not maintained by Apify. Community dev is the owner. So in this case You'd better post your question to "Issues" tab. And yeah, it might some bug in the actor.
Looks like it's jsut scraped 3 reviews from the "main" page of the app:
https://play.google.com/store/apps/details?id=it.saraassicurazioni.sara
Don't know if it's expected behavior. So better ask original dev / check actor's ReadMe 🙂
but indeedon the page I can't find any other reviews except those 3.
Now it's back as it was 🙂 I think there was a bug.

@Anakin just advanced to level 2! Thanks for your contributions! 🎉
Anyway thanks a lot for your support, really appreciate 🙂