hmcguirk
08/04/2025, 1:13 AMAnswer Overflow
08/04/2025, 1:13 AMSaurav Jain
08/04/2025, 10:55 AMpatrikbraborec_37124
08/04/2025, 11:09 AMhmcguirk
08/04/2025, 11:43 AMhmcguirk
08/04/2025, 11:44 AMhmcguirk
08/04/2025, 11:54 AMhmcguirk
08/04/2025, 2:30 PMhmcguirk
08/04/2025, 10:10 PMAPIFY_TOKEN environment variable, and specifying it as a URL parameter e.g. https://api.apify.com/v2/actor-runs/{runId}/charge?token={ApifyApiToken} This has worked fine for every API call I'm making from a container (I'll change to a header once I get stuff working). I am specifying the idempotency-key header too. The API does seem to be accepting the payload Im sending - so I believe that is correct (as missing payload properties were returning a different error). I dont understand why the run input's pricingInfo.pricingModel is not PAY_PER_EVENT when the Console does show PPE configured (green & active). I cant see the exact event name configured through the Console (since the Console does not show it once it has been accepted), but it should be SUCCESSFUL_PROCESSED_1000hmcguirk
08/04/2025, 10:23 PMpricingModel has been both from my organisation and from my personal account. I understand that at least the latter (if not both) should really be seeing the correct input pricingInfo.ApifyBot
08/04/2025, 10:23 PMhmcguirk
08/04/2025, 10:28 PMpricingModel of the parent run that is triggering this actor's run is what Im seeing in the integration's input? Both do have different pricing models. I would think it is reasonable to expect that parent runs and their Intergations might support different & independent pricing models...patrikbraborec_37124
08/05/2025, 8:48 AMpatrikbraborec_37124
08/05/2025, 1:43 PMoperationNotAllowed when actorRunId is different from runId in the API endpoint. Can you double-check that when you call https://api.apify.com/v2/actor-runs/:runId/charge you use the correct runId in the API endpoint?hmcguirk
08/05/2025, 2:06 PMinput.payload.eventData.actorRunId Taking a closer look now, I can see that perhaps all properties inside that input.payload are from the parent actor run that triggered this integration run. I can see my Integration Actor's Run ID in the Console UI, and that appears nowhere in the input.payload for my integration actor's input. But I do repeatedly see the parent actor's actorId and runId in various properties there...hmcguirk
08/05/2025, 2:10 PMinput.payload too, which also seems to be for the parent actor run, not for this integration run (i.e. pricing model is not for my integration actor)patrikbraborec_37124
08/05/2025, 2:53 PMhmcguirk
08/05/2025, 3:08 PMhmcguirk
08/05/2025, 3:49 PMpatrikbraborec_37124
08/05/2025, 7:03 PMhmcguirk
08/05/2025, 8:46 PMoptions.maxTotalChargeUsd for the run.patrikbraborec_37124
08/06/2025, 9:33 AMhmcguirk
08/06/2025, 9:38 AMApifyBot
08/06/2025, 9:38 AMhmcguirk
08/06/2025, 9:40 AM