Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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
Any guidance would be appreciated.
Thanks in advance!
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