Help

Upcoming database upgrades. Airtable functionality will be reduced for ~15 minutes at 06:00 UTC on Feb. 4 / 10:00 pm PT on Feb. 3. Learn more here

Error 422 & non-existing collaborators

Topic Labels: API
2901 3
cancel
Showing results for 
Search instead for 
Did you mean: 

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:

3 Replies 3

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.

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.

No prob. As I said, it’s just an observation. :slightly_smiling_face: