How long do I need to wait if I get a GGT_TOO_MANY_REQUESTS?

I got GGT_TOO_MANY_REQUESTS error after running one of our actions in the background, I waited for 30mins already but I still encounter it. Thank you!
No description
4 Replies
Charles13
Charles13OP4w ago
I also turned on one of our schedulers that fetches the DB and does some enqueueing, and as soon as I turned it on, this warning kept appearing in the logs. Is there some gadget internal fetching that exhaust the app's request limit? Thank you!
No description
Chocci_Milk
Chocci_Milk4w ago
Hello, Could you please share the traceId for that warning?
Charles13
Charles13OP4w ago
It's this one: ce43b194d3f56dd6ec0eefe334e5a216 I think it only happens in Dev env
Chocci_Milk
Chocci_Milk4w ago
I think that the issue might be that you aren't awaiting your calls to enqueue actions. That, coupled with the fact that you're not putting any concurrency on your requests. I would recommend using p-map (@^4) to make sure that you don't barrage the database with requests Sorry, I forgot to tell you that its coming from api/actions/sync/acumatica/scheduled.ts

Did you find this page helpful?