function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
VIKASH CHAND KUMARVIKASH 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" } ]
SwethaSwetha (Salesforce Developers) 
HIVikash,
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