Save the date! Join us on October 16 for our Product Ops launch event. Register here.
May 17, 2017 12:35 AM
I think there could be a small improvement in the JSON that comes back when trying to add an illegal collaborator (for example: someone has not yet accepted an invitation to a base).
This is the response I’m seeing:
{"error":{"type":"INVALID_VALUE_FOR_COLUMN","message":"Cannot parse value \"[object Object]\" for field Rep"}}
I suspect the ‘object’ part should be something else. :winking_face:
May 17, 2017 12:44 AM
More observations, I’m getting different response types for what is basically the same error:
{"error":{"type":"UNKNOWN_COLUMN_NAME","message":"Could not find fields Rep"}}
{"error":{"type":"UNKNOWN_FIELD_NAME","message":"Could not find a field named Payment_Type"}}
The first one is probably a POST and the second a GET request.
May 17, 2017 12:42 PM
Sorry for the confusion! We’ll make the error types more consistent in the next major version of the API, but we can’t change it in this version since it might break existing integrations.
May 17, 2017 01:39 PM
No prob. As I said, it’s just an observation. :slightly_smiling_face: