Notifications
Announcements
No record found.
Hello,
I'm trying to call rest API with AL inside a repeat loop, I get this error.
Is there a workaround to avoid it?
Thanks in advance,
Maybe a batch call is another option. Build up the json in the loop and then post a batch. Here is info on the batch method: www.kauffmann.nl/.../
The above blog is split into 3 parts so you get the full detail
Hi Josh,
The json to consume does not support json array to send a batch of data :(
Hi, did you manage it? We have the same issue, the api take as a parameter only an id and we need to loop through all the ids then call the api with each id. Cannot call the api with a json and post a batch, if you have by any chance a solution?
We actually found the solution.
We just need to clear all the variables (uri, http request, content, headers...) in the beginning of the loop, now it works perfectly ;)
Hope that it will help someone ;)
Hello Fayssal M. Could you show by example how you achieved this? I'm currently stuck at the same issue.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
OussamaSabbouh 2,092
YUN ZHU 663 Super User 2025 Season 2
Sumit Singh 515