Api call within backend workflow

Hello,

I call a recuring workflow to create a new raw in my database for each result of an api call (around 50 to a 100 new raws). And this works great, it stores everything.

Now I want to apply some modification to the text while it is being stored. To do so I call a first api, and then with the result of the 1st one, I call another api that take this result (I’m skipping the details of why but it can’t be changed), before recalling the reccuring workflow to do the next iteration.

The 2 apis call works perfectly when I test it with 1 iteration, but when it is a list of like 50, it works perfectly for the 5 to 10 first ones, and then it stop working, and my data is not stored.
When I call again the workflow, same thing, it works and store the next ones and then stops.

I can’t figure out why, if someone could please help me :slightly_smiling_face:
Thank you

Pretty sure you are hitting API rate limit. But without screenshot of your settings and API doc url, it’s hard to tell you


Hey! Thank you I think you are right.
Step 3 is optionnal (just a checkup), but here is my workflow. I don’t know how to bypass this limit tho. If you have some info on that?

thank you very much!

Increase interval between your workflow run. Seem that you reschedule itself, so use current date +seconds. According to API doc rate limit, choose a safe interval to add.

Yes that is an interresting solution, I’ve tested it and now it do more iteration, but not all of them. I’ve added 5sec every 4 iteration. Do you think I should add something around 10sec ? Because it slows down by a lot the process

This is the main limit when working with API. Do you link to api doc

What do you mean by link tot api doc?

You seem to call IBM api. Link to this api documentation

Usage limits are here:

Try to create your workflow so it’s fit in theses limits.

hello, how did you get a response from IBM API, i havent been able to initiate a call from bubble io connector. any advise ? thanks