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

Error:"Missing grant_type parameter value","error":"invalid_request"

New Here ,
Jul 10, 2020 Jul 10, 2020

Copy link to clipboard

Copied

I have this errors {"error_description":"Missing grant_type parameter value","error":"invalid_request"} when I am trying to retrive authentication code using https://api.in1.echosign.com/oauth/token url.

how to solve it please help me . I am giving you all my account details.

 

Email ID:[Personal information removed by moderator.]

Application ID: CBJCHBCAABAAuNaCVzG8tTMkcpuvNo9_aLgrzN4IXJZh

Client secret: J55Yxw9GB5YDz8MN1UjJkTvLJVqgbAGK

My Authintication code and all other details are given below:

POST http://api.echosign.com/oauth/token?

code=CBNCKBAAHBCAABAATf1XHjO0WIdAhtziQltQi5OYhyEwzzHa&client_id

=CBJCHBCAABAA2Y0aHfYjTsezcdDkTXtovlaUHyIa9z5z&client_secret=J55Y

xw9GB5YDz8MN1UjJkTvLJVqgbAGK&redirect_uri=https://salesmgmt.cogitoc

entral.com&grant_type=authorization_code HTTP/1.1Content-Type: application/x-www-form-urlencoded

 

POST /oauth/token HTTP/1.1

Host: api.in1.echosign.com

Content-Type: application/x-www-form-urlencoded

 

code=CBNCKBAAHBCAABAATf1XHjO0WIdAhtziQltQi5OYhyEwzzHa&

client_id=CBJCHBCAABAA2Y0aHfYjTsezcdDkTXtovlaUHyIa9z5z&

client_secret=J55Yxw9GB5YDz8MN1UjJkTvLJVqgbAGK&

redirect_uri=https://salesmgmt.cogitocentral.com&

grant_type=authorization_code HTTP/1.1

 

 

Adobe Sign Error 2.png

TOPICS
Adobe Sign forms , SDK

Views

12.7K

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 Expert ,
Jul 10, 2020 Jul 10, 2020

Copy link to clipboard

Copied

This is the poorly named Community Help forum (which is the forum for issues using the forums).
Please tell us what Adobe application you are using so that this can be moved to the proper forum for help.

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 ,
Jul 12, 2020 Jul 12, 2020

Copy link to clipboard

Copied

I am using Adobe Sign for developers version and I got this error[{"error_description":"Missing grant_type parameter value","error":"invalid_request"}] when I am trying to get the access token, refresh token from Adobe Sign. We use this https://api.in1.echosign.com/oauth/token to get these tokens, and POST these parameters 

POST /oauth/token HTTP/1.1

Host: api.in1.echosign.com

Content-Type: application/x-www-form-urlencoded

code=CBNCKBAAHBCAABAATf1XHjO0WIdAhtziQltQi5OYhyEwzzHa&

client_id=CBJCHBCAABAA2Y0aHfYjTsezcdDkTXtovlaUHyIa9z5z&

client_secret=J55Yxw9GB5YDz8MN1UjJkTvLJVqgbAGK&

redirect_uri=https://salesmgmt.cogitocentral.com&

grant_type=authorization_code HTTP/1.1

 

 

these are given by AdobeSign.

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 ,
Oct 25, 2020 Oct 25, 2020

Copy link to clipboard

Copied

Exact same issue as you...

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 ,
Jul 13, 2020 Jul 13, 2020

Copy link to clipboard

Copied

I am using Adobe Sign for developers version and I got this error[{"error_description":"Missing grant_type parameter value","error":"invalid_request"}] when I am trying to get the access token, refresh token from Adobe Sign. We use this https://api.in1.echosign.com/oauth/token to get these tokens, and POST these parameters 

POST /oauth/token HTTP/1.1

Host: api.in1.echosign.com

Content-Type: application/x-www-form-urlencoded

code=CBNCKBAAHBCAABAATf1XHjO0WIdAhtziQltQi5OYhyEwzzHa&

client_id=CBJCHBCAABAA2Y0aHfYjTsezcdDkTXtovlaUHyIa9z5z&

client_secret=J55Yxw9GB5YDz8MN1UjJkTvLJVqgbAGK&

redirect_uri=https://salesmgmt.cogitocentral.com&

grant_type=authorization_code HTTP/1.1

these are given by AdobeSign.

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 16, 2020 Sep 16, 2020

Copy link to clipboard

Copied

Please check that code parameter is valid for only 30secs. 

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
Explorer ,
Aug 27, 2021 Aug 27, 2021

Copy link to clipboard

Copied

Post is too old.

I was able to fix it is removing HTTP/1.1 in grant_type.
grant_type=authorization_code

Also, don't share your code/keys publicly.

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 ,
Nov 27, 2021 Nov 27, 2021

Copy link to clipboard

Copied

Untitledauthpostman.png

Auth.png

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 ,
Nov 27, 2021 Nov 27, 2021

Copy link to clipboard

Copied

iam d

facing same issue

 

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 ,
Dec 01, 2021 Dec 01, 2021

Copy link to clipboard

Copied

same issue

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 ,
Nov 18, 2021 Nov 18, 2021

Copy link to clipboard

Copied

I don't understand why I am getting "Missing grant_type value" when I am including the grant_type value as 

grant_type=authorization_code in my POST

 

Attached is a jpg of my POST:

 

Where else can I get help on this? I ran out of options.

 

Please help,

 

 

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 ,
Nov 19, 2021 Nov 19, 2021

Copy link to clipboard

Copied

Can someone please help me with this issue or point me to where I can get the answer for this?

 

Thanks in advance,

 

Louis

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 ,
Nov 20, 2021 Nov 20, 2021

Copy link to clipboard

Copied

Anyone, please.

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
Adobe Employee ,
Nov 25, 2021 Nov 25, 2021

Copy link to clipboard

Copied

Please ensure the request is sent under Content-Type "x-www-form-urlencoded"

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 ,
Dec 01, 2021 Dec 01, 2021

Copy link to clipboard

Copied

Having the same issue

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 ,
Dec 01, 2021 Dec 01, 2021

Copy link to clipboard

Copied

I  was able to resolve my issue, by using:

 

https://secure.na4.echosign.com/oauth/v2/token

 

instead of 

 

https://api.na4.echosign.com/oauth/v2/token

 

I hope that helps you.

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 ,
Nov 16, 2021 Nov 16, 2021

Copy link to clipboard

Copied

Hello, 

 

I am trying to get access token using this post request:

 

https://secure.na3.echosign.com/public/oauth/v2/token?
code=xxxxxxx&
client_id=xxxxxxxxx&
client_secret=xxxxxxxxxxx&
redirect_uri=https://mydomain.com&
grant_type=authorization_code

 

When I send this request I get the following message:

 

{
    "error_description""Missing grant_type parameter value",
    "error""invalid_request"
}
 
I am not missing the grant_type parameter as you can see from my url request.
 
What am I doing wrong?
 
Please help, Thank you.

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
Adobe Employee ,
Nov 17, 2021 Nov 17, 2021

Copy link to clipboard

Copied

the Post request to get the access token cannot be done with url parameters, see

https://secure.eu1.echosign.com/public/static/oauthDoc.jsp

also you need to call the api endpoint

https://api.eu1.echosign.com 

(adjust for your region/shard if needed)

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 ,
Nov 17, 2021 Nov 17, 2021

Copy link to clipboard

Copied

Hi Simon, thanks for your response.

 

The reason I am calling the api endpoint as https://secure.na3.echosign.com is because I've read that it should be the same as the url in my Adobe Sign account as you can see in the image I am attaching (url.jpg). But you are saying it should be https://api.eu1.echosign.com?

 

I am also getting 401 (Unauthorized)

 

any other suggestions please let me know.

 

Thanks,

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
Adobe Employee ,
Nov 25, 2021 Nov 25, 2021

Copy link to clipboard

Copied

Please ensure the request is sent under Content-Type "x-www-form-urlencoded"

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 ,
May 03, 2022 May 03, 2022

Copy link to clipboard

Copied

Did you manage to find a solution for your issue with oauth/v2/token? 

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 ,
Dec 27, 2022 Dec 27, 2022

Copy link to clipboard

Copied

Make sure you don't pass all parameters as query string, it has to be x-www-form-urlencoded

Victor24451361scns_0-1672161843931.png

 

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 ,
May 06, 2024 May 06, 2024

Copy link to clipboard

Copied

LATEST

Using "x-www-form-urlencoded" instead of a "raw" body fixed my issues. Thank you!

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
Explorer ,
Mar 28, 2024 Mar 28, 2024

Copy link to clipboard

Copied

I've found that removing the 'v2/' from the url works for me. So the url I used for refresh was:

https://api.na1.adobesign.com/oauth/refresh?grant_type=refresh_token&refresh_token={myToken}&client_...}

The header, as stated before, MUST be:

Content-Type: application/x-www-form-urlencoded

 

I hope this helps others. 

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