You need to sign in to do that
Don't have an account?
VIKASH CHAND KUMAR
bulk api patch request throwing INVALID_FIELD error from workbench
/services/data/v45.0/sobjects/CustomObject__C/External_Field_ID__c/455488
[{
"Custom_field_1": "1990-01-19",
"Custom_field_2": "ABC"
}]
[ { "message" : "Json Deserialization failed on token 'null' and has left off in the middle of parsing a row. Will go to end of row to begin parsing the next row", "errorCode" : "INVALID_FIELD" } ]
[{
"Custom_field_1": "1990-01-19",
"Custom_field_2": "ABC"
}]
[ { "message" : "Json Deserialization failed on token 'null' and has left off in the middle of parsing a row. Will go to end of row to begin parsing the next row", "errorCode" : "INVALID_FIELD" } ]
Can you check if the data types of your fields (Custom_field_1 and Custom_field_2 ) are receiving the expected value types?
Example: Custom_field_1 should have date datatype and not string
https://developer.salesforce.com/forums/?id=9060G0000005lHyQAI
Related: https://salesforce.stackexchange.com/questions/200994/rest-to-create-multiple-objects-json-deserializaton-failed-on-token-null
Hope this helps you. Please mark this answer as best so that others facing the same issue will find this information useful. Thank you