Join Discord
Powered by
🚨 Bug Report: Charge API Idempotency
# apify-platform
a
Aciku
12/10/2025, 6:12 PM
I was testing the endpoint
https://api.apify.com/v2/actor-runs/:runId/charge
. The Setup: - I sent 378 requests to the Charge endpoint. - All requests used the exact same header: idempotency-key: asdfdfdf. Expected Result: - The system should process 1 charge and return 201 for the rest (deduplicated). Actual Result: - I was charged 4 times for the same key. It seems like the idempotency check failed and allowed duplicates. Logs:
https://api.apify.com/v2/logs/4bvXcq1weMRaoTsN9
Could someone look into this? This is critical for preventing double-billing in actors.
https://cdn.discordapp.com/attachments/1448376722218160138/1448376722587254864/Screenshot_2025-12-10_at_12.56.08_PM.png?ex=6941a0f0&is=69404f70&hm=70606fd7d84b760f786ac1afa36e2a15ecfc9fb2e6111c79db4fc0f915b83f89&
https://cdn.discordapp.com/attachments/1448376722218160138/1448376723363074068/Screenshot_2025-12-10_at_12.56.46_PM.png?ex=6941a0f0&is=69404f70&hm=9dc69d73703058b92fb44f8c1039e0de8974ab4b45a2541dbbd8904fe4cde41c&
a
Answer Overflow
12/10/2025, 6:12 PM
message has been deleted
Previous
Next