Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
MohamedArsath
Contributor
Contributor

tRESTClient – Error 415 Unsupported Media Type while uploading CSV as multipart/form-data

Hi Community,

I’m working on an integration where I need to push a CSV file to an API endpoint using Talend tRESTClient.
The API expects the file to be uploaded with Content-Type: multipart/form-data.

But when I run the job, I keep getting this error:

Exception in component tRESTClient_2 
jakarta.ws.rs.NotSupportedException: HTTP 415 Unsupported Media Type

I gave this Configuration inside tRestclient

MohamedArsath_0-1758033748759.png

Any guidance would be appreciated.

Thanks in advance!

 

Talend Studio 

 

Labels (2)
1 Reply
Xiaodi_Shi
Employee
Employee

Hello @MohamedArsath 
Are you able to make API calls to the same endpoint using Postman? Any Content-Encoding setting requirement for that?

Best regards

Sabrina