Skip to main content
Participant
July 10, 2020
Question

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

  • July 10, 2020
  • 5 replies
  • 17103 views

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

 

 

This topic has been closed for replies.

5 replies

Participating Frequently
November 18, 2021

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,

 

 

Participating Frequently
November 19, 2021

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

 

Thanks in advance,

 

Louis

Participating Frequently
November 20, 2021

Anyone, please.

Participating Frequently
November 17, 2021

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.
Community Manager
November 17, 2021

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)

Participant
December 9, 2024

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_id={appID}&client_secret={secret}

The header, as stated before, MUST be:

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

 

I hope this helps others. 


I have just run into this issue, and this last suggestion worked for me. Thanks.

Inspiring
August 28, 2021

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.

Participant
November 28, 2021

Participant
November 28, 2021

iam d

facing same issue

 

Participating Frequently
September 17, 2020

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

Peru Bob
Community Expert
Community Expert
July 10, 2020

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.

Participant
July 13, 2020

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.

Participant
October 26, 2020

Exact same issue as you...