0

Has anyone solved the error 415 (Unsupported Media Type) in salesforce ? I tried to upload a file to ContentVersion via rest api request but it 415 error will be returned by my org. Is there any settings I need to enable so that my csv can be uploaded via rest?

I tried enreeco's approach to upload the file in my dev org. http://enreeco.blogspot.com/2013/01/salesforce-apex-post-mutipartform-data.html

I have org1 that uploads the file to org2.

  • Please edit this question to show the details of how you are uploading this information, including the code or request verbatim. – David Reed Aug 6 at 1:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.