Skip to main content
Participant
September 2, 2022
Question

Content type was not provided or is not supported

  • September 2, 2022
  • 1 reply
  • 985 views

Hi everyone, 

I am sending a post request to https://api.na3.adobesign.com/api/rest/v6/transientDocuments API with following 

headers: {
Authorization: 'Bearer XXXXXXXXXXXXXXXXXXXXXX'

Content-Type: 'applicatioin/pdf'

Content-Disposition: 'form-data; name="File"; filename="2ed892f1b5e55e2b6622575e57f87f5c"'
},
form: FormData {...}
method: 'POST'
}

but I am getting UNSUPPORTED_MEDIA_TYPE error. I tried changing content type to 'application/json' or 'multipart/form-data' but no luck either. 

Does anyone know a way to fix this? Thankyou

This topic has been closed for replies.

1 reply

Participating Frequently
September 5, 2022

HI,

It migght just be a typo, but you have written :Content-Type: 'applicatioin/pdf' 

There is a type in the word application

Participant
September 7, 2022

It was a typo I got it right on the app