Charaf | 2021-02-17 15:28:18 UTC | #1
Hello,
When the script is loading, it loads all the Data Actions defined in it. Under Chrome/Developer Tools/Network section, we can see them (custom_xxxxx) :
- Does that mean, each time a script is popping, some API calls are made in order to retrieve all the data actions defined ?
OR
- an API call is made only when we execute a data action in the script.
Just trying to understand because we had some rate limits error 429 !
Thank you in advance,
Regards,
CHARAF
John_Carnell | 2021-03-10 14:26:43 UTC | #2
Hi Charaf,
I apologize. This post slipped by my team. I am talking with our product management team and will hopefully have an answer shortly.
Thanks, John Carnell Manager, Developer Engagement
John_Carnell | 2021-03-10 15:16:19 UTC | #3
Hi Charaf,
Just got done talking with our Scripts team. For organizations that are calling a large number of data actions you could run into the 429 errors that you are seeing. However, the script's code will automatically retry on 429 ten times and use a backoff mechanism between each call. So, the call to the data action should go through but might take longer to process the request.
The scripts team does have a ticket out there to reduce some of their network traffic because they load the schemas for each data action every time they make a data action call. I do not a timeline for when this change would go in.
I would recommend you contact our Care support team and open a ticket with them referencing this post. They can help direct this to our scripts/data action team and see if you can either get a rate-limit increase for your organization (this is not guaranteed) or if a defect will be opened around this.
Thanks, John Carnell Manager, Developer Engagement
system | 2021-04-10 15:16:20 UTC | #4
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 10014