Happy Business Starts Here

Better error codes for APIs

We often get an UNKNOWN error when calling APIs.  Recently we ran into a case where we were passing a custom field value that was too long for the value.  It would be a simple thing to return that we exceeded the length.  Instead the API returned UNKNOWN error.  This is less than helpful.  Improved error reporting would reduce customer development time.  Also, since we ended up opening a support ticket it will reduce number of support issues raised.

3 Comments
Community Manager
Status changed to: More Feedback Needed
 
Community Manager
Status changed to: Under Consideration
 
Scholar
This would be awesome! We're so surprised that the SOAP wrapped requests wrap failures in 200 responses and hides the success inside the JSON body. Then for the native rest the responses are handled correctly. This is very inconsistent and makes integration a nightmare.