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!

4 Replies
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!

Hello,
Could you please share the traceId for that warning?
It's this one:
ce43b194d3f56dd6ec0eefe334e5a216
I think it only happens in Dev envI 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