I’ve personally integrated with almost 50 different SaaS APIs in the last 2 years.
The worst ones to work with were the ones returning errors in 200.
I don’t want to parse and write switch statements for your strings to understand whether it’s authentication, authorization, not found or any other error.
Now I have logic tied to strings you return and I can’t wait until someone decides to change the error messages they return. People rarely assume there’s an API contract in error messages.
I’ve personally integrated with almost 50 different SaaS APIs in the last 2 years.
The worst ones to work with were the ones returning errors in 200.
I don’t want to parse and write switch statements for your strings to understand whether it’s authentication, authorization, not found or any other error.
Now I have logic tied to strings you return and I can’t wait until someone decides to change the error messages they return. People rarely assume there’s an API contract in error messages.