Skip to main content

Error 422 & non-existing collaborators

  • May 17, 2017
  • 3 replies
  • 23 views

Forum|alt.badge.img+19
  • Inspiring
  • 366 replies

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

Forum|alt.badge.img+19
  • Author
  • Inspiring
  • 366 replies
  • May 17, 2017

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.


Forum|alt.badge.img+4
  • Inspiring
  • 192 replies
  • May 17, 2017

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.


Forum|alt.badge.img+19
  • Author
  • Inspiring
  • 366 replies
  • May 17, 2017

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: