Hello, there is one dude who keep doing
# 💻creators-and-apify
m
Hello, there is one dude who keep doing the same input like hundred times a day and make me lose money is there a way to block him? Pretty sure its a bot or malicious user
j
What's your pricing model ?
m
ppr
j
many things that you can do : 1 - Move to PPE pricing model and increase fare for free users. 2 - limit number of results for free users. An advanced approach would be to track usage externally by user id and act accordingly
a
@jadou_80568 just advanced to level 2! Thanks for your contributions! 🎉
j
But how come you’re losing money if your model is based on PPR? The user is charged per result, and your profit is also tied to the number of results unless you’re referring to additional infrastructure costs.
m
dude is running like a 1000 runs that charge small negative value
per day
because when the actor runs it charges me money
crazy, i have no idea why he is doing that, like what is the point
t
I guess he is doing this through api calls
same happened with me he was running hundreds of time with single input but then I implemented min input to be 5
But this is a little concerning as you knew because he has consented if he has not then you would never knew what was happening
p
Hi, the good practice is to always
Push at least one "error item" to the dataset
as you can read in the docs: https://docs.apify.com/platform/actors/publishing/monetize/pay-per-result#push-at-least-one-error-item-to-the-dataset. From your screenshot, I can see that the succesful runs ended up without any result which might result in losing money
l
Usually those are not malicious users, they just misconfigured the run. We will block obviously malicious users but otherwise it is developer's responsibility to handle this. As others said, long term aim for PPE where you can charge for start or invalid query. For PPR push "error results" to offset the cost