Backend API List WF consistently skips out on adding data to user field

Hi- I am testing my onboard process and there is one step that is consistently skipped on backend workflow. I created a dataType in “SM-data” to store user’s API data and have a connecting under “User” to link the corresponding user to the right data.

However, when I run the backend WF. It consistently skips out on that step to link the data to User. Every other actions both after this step or within that step seem to have performed, so not sure why this is happening:

Don’t think it’s privacy rule either because I am running similar WF across other social media platform and some would perform, while others no.


Edit1. Went deeper into this and same with “photo-featured.” That one also didn’t perform.

Search for race issue… (it’s also in Bubble manual doc).

If you are using Schedule on a list… add an interval (2-3 sec is enough for most case)

i don’t have as many lists scheduled (some that are embedded into the YT one on the backend), but i do have multiple API’s for each social media platform. Do I solve this by delaying the start time and/or how do I make sure they are running sequentially after the previous API terminated?

Alternatively, I can try to spread the API calls throughout different onboarding stage.

On scheduled time add +seconds to current date and time 2/4/6/8

1 Like

Quick follow-up: Is the race issue due to modifying the same data entry (e.g., same user)? If not, wouldn’t multiple users perform the same action also lead to race issue?

Yes

No because each user data entry is separate, unless of course they were all experiencing race conditions on their own user entry.

Hi- I’m having a bit of trouble on this one particular function, even though I added a pause between each of the WFs:

This is my overall workflow:

Each backend would have this action (boxed in red) to link the data entry to the user:

My problem is that each subsequent backend workflow would replace the previously added list (e.g., YouTube added its entry to SM-data, but once TikTok got triggered it would replace the YouTube entry (vs. adding on top of YouTube)).

I added significant pause (10000 ms) in between and it’s still doing the same thing

Fixed- had to add more seconds to the start time and re-ordered which API to kick off first.