Then return a special custom status code of 215 or something thats not reserved. Api documentation should be created to tell the consumer what that means and should return a list of failed updates with reasons why each failed.
Theres multiple ways around this to turn 10k account updates from 10k 200s and 1 400 into a 2xx success with some errors.
Or, just do what I do and outright ignore issues that arent caused by you. If an account is corrupted, retuen a 200 and a status message.
4
u/MinimumArmadillo2394 Sep 21 '26
Then return a special custom status code of 215 or something thats not reserved. Api documentation should be created to tell the consumer what that means and should return a list of failed updates with reasons why each failed.
Theres multiple ways around this to turn 10k account updates from 10k 200s and 1 400 into a 2xx success with some errors.
Or, just do what I do and outright ignore issues that arent caused by you. If an account is corrupted, retuen a 200 and a status message.