• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Content type was not provided or is not supported

New Here ,
Sep 02, 2022 Sep 02, 2022

Copy link to clipboard

Copied

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

TOPICS
Adobe Sign forms , SDK , Send documents , Web forms

Views

597

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Sep 04, 2022 Sep 04, 2022

Copy link to clipboard

Copied

HI,

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

There is a type in the word application

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 07, 2022 Sep 07, 2022

Copy link to clipboard

Copied

LATEST

It was a typo I got it right on the app

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines