OdiInvokeRESTfulService Fails with '415 MediaType Is Not Supported' or 'File not found'
(Doc ID 2585720.1)
Last updated on SEPTEMBER 13, 2023
Applies to:
Oracle Data Integrator - Version 12.2.1.3.0 and laterOracle Data Integrator on Marketplace - Version 12.2.1.4.200123 and later
Information in this document applies to any platform.
Symptoms
Attempting to use the Oracle Commerce Cloud (OCC) endpoint doFileUploadMultipart (/ccadmin/v1/files) to upload a file with the Oracle Data Integrator (ODI) tool OdiInvokeRESTfulService, ODI is returning a "415 Unsupported Media Type”. The ODI OdiInvokeRESTfulService has been configured with setting similar to the following:
A third-party REST client or CURL is successful when uploading the file using the same endpoint. It is only through the ODI OdiInvokeRESTfulService that the upload is failing.
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |