Forum Discussion
DylanMoring
3 years agoQrew Trainee
I'm experiencing the same thing. I just opened a support case asking about it.
My issue is occurring when updating records. The error message with the 400 error is:
Request failed [400]: Bad Request: 'Value' property missing for field id 7 row #1
The payload sent by my script uses 'value' properties (with a lowercase v). The error message seems to suggest that should be 'Value', but this doesn't agree with the documentation for the endpoint:
https://developer.quickbase.com/operation/upsert
------------------------------
Dylan Moring
------------------------------
My issue is occurring when updating records. The error message with the 400 error is:
Request failed [400]: Bad Request: 'Value' property missing for field id 7 row #1
The payload sent by my script uses 'value' properties (with a lowercase v). The error message seems to suggest that should be 'Value', but this doesn't agree with the documentation for the endpoint:
https://developer.quickbase.com/operation/upsert
------------------------------
Dylan Moring
------------------------------
KerrySchwab
3 years agoQrew Member
Ours turned out to be that we were passing the value for mergeFieldId in the JSON as a string, like:
'mergeFieldId': '6'
Changing it pass as an integer (no quotes) fixed it:
'mergeFieldId': 6
Quickbase does have it documented as needing to be an integer, but allowed the string up until today. Seem like they pushed some sort of unannounced update with stricter type checking of the JSON.
So you might want to check for similar issues with other things. Like, for example, "fieldsToReturn" should be an array of ints, and not an array of strings.
Edit: I checked, and we're using lowercase 'value', and it's working after my above fix.
------------------------------
Kerry Schwab
------------------------------