on ‎2021 Jan 28 1:47 PM
Hi everyone,
I'm developing an integration flow to integrate an outbound idoc from SAP ECC to create an Update case in Salesforce.
The input idoc is a custom, there is a csv row in each segment.

Since there are few steps to do with Salesforce I created some local integration flows.
Salesforce documentation is here Upload Job Salesforce
The "Upload Job Data" is a call where I need to call Salesforce service, sending the csv needed with a PUT.

Documentation state: "Content-Type: text/csv" as header and I correctly set it with the content modifier show above, but the call is made with "text/csv; charset=UTF-8".
This makes fail the call, with return message:
[
{
"errorCode": "BULK_API_ERROR",
"message": "Wrong content-type for batch (text/csv; charset=UTF-8), job is of type: text/csv"
}
]
I already tried to:
- delete CamelHttpCharacterEncoding, CamelCharsetName
- setting the Content-Type with Groovy Script
- creating an IFlow and calling it instead of using a local integration process
Any suggestion?
Request clarification before answering.
| User | Count |
|---|---|
| 8 | |
| 8 | |
| 7 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.