euporphium - Hey all,Reference: https://disco...
# dev-help
a
message has been deleted
s
We are discussing this issue internally. But to avoid this for the time being, you can try out listed ways: -- The favorite_metadata parameter in the update endpoint accepts multiple objects at once. Instead of making separate calls for each favorite, batch them: { "favorite_metadata": [ {"id": "guid1", "type": "LIVEBOARD"}, {"id": "guid2", "type": "ANSWER"}, {"id": "guid3", "type": "ANSWER"} ] } -- If you must make sequential calls, implement retry logic with exponential backoff -- If your application needs to make multiple update calls for the same user, queue them and process sequentially rather than in parallel. The last resort!
e
As far as I can tell, the batched calls must still be made separately for ADD and REMOVE. We are displaying a grid of Liveboards available to the user where they can toggle whether that Liveboard is a Favorite or not. We will need to adjust our UX to account for this limitation.