I want to store the agent name in my external Database. I am making an API call to get the agents Info, per page I can get a maximum of 100. My customers having more than 500 agents in their accounts. I want to assign the response of all agents in an array of JSON. I want to do it with an async-await and do-while loop. But in the FDK console, I am getting an error with async-await due to Async/await not supported in FDK.
Is there any way to overcome this issue and send the all agent’s Info in a single variable to my middleware to store it in DB?
I want to publish my app by end of this week. Please help me with this.