Bulk Write APIs: Step 3 returns "FILE_NOT_SUPPORTED" 400 Bad Request
Hello.
I am trying to upload data to Zoho using the
Bulk Write APIs. So far, I've successfully uploaded zipped .csv file and received the file ID. When I try to implement
Step 3: Create a bulk write job, I get 400 response:
{
"status": "error",
"code": "FILE_NOT_SUPPORTED",
"message": "File not supported for bulk write",
"details": {}
}
What I do wrong?
Here is the request I send:
- {
"operation" : "insert",
"callback" : {
"url" : <my callback URL>,
"method" : "post"
},
"resource" : [ {
"type" : "data",
"module" : "Leads",
"file_id" : "4197230000000587001",
"field_mappings" : [ {
"api_name" : "City",
"index" : 1
}, {
"api_name" : "Company",
"index" : 2
}, {
"api_name" : "Email",
"index" : 3
}, {
"api_name" : "First_Name",
"index" : 4
}, {
"api_name" : "Last_Name",
"index" : 5
} ]
} ]
}