Raise Error when JSON body contains errors#110
Raise Error when JSON body contains errors#110krets wants to merge 1 commit intoadobe-apiplatform:v3from
Conversation
During my use of this library, found many occasions wherein the server would respond with a 200 status code, but the JSON body would contain errors. This should be raised as an error for the end-user to see.
|
Thanks for reaching out. What errors in the result JSON are you seeing specifically? Are those errors reproducible? |
|
Hello and thanks for the reply. As I first used this library, I would get a I believe this was primarily related to using the wrong I added a breakpoint to catch the underlying request and found very useful details in the JSON body, and the status code in the response was 200 which doesn't log any error messages. This change was necessary for me to continue development on my user management script without always using a debugger. |
During my use of this library, I found many occasions wherein the server would respond with a 200 status code, but the JSON body would contain errors. This should be raised as an error for the end-user to see.