I am attempting to update an existing tracking field, so I issue the following HTTP request:
PATCH https://api.zoom.us/v2/tracking_fields/utsq2vImQHSJGq5pUkeQtQ
{"field":"ZoomNet Integration Testing: UPDATED Tracking Field","recommended_values":["Value A","Value B"],"required":true,"visible":false}
I get the following response from Zoom:
HTTP/1.1 400 Bad Request
{"code":300,"message":"Validation Failed.","errors":[{"field":"field","message":"Invalid field."}]}
The response says that field is an invalid field but the documentation says otherwise:
Hey @desautelsj
I played around with the request body you sent, and I noticed that the name of your field is too long. If you remove one character, the request will go through.
I will flag this and share it with our Engineering team to see if it’s expected behavior and if it is, I will submit this to our Docs team to make changes in the docs
Thanks for looking into this and for letting me about the length limitation.
Adding a note about this limitation in the docs would indeed be great but it would be even better if the API returned a more meaningful error message. Something along the lines of: You are attempting to set the name of a tracking field with a value that exceeds the 50 character limit.
Agreed @desautelsj
I will pass down this feedback to our Docs team 