Skip to main content
Participant
Jul 10, 2020 2:44 PM UTC
Question

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

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 is closed to new replies. Start a new post to keep the conversation going.

24 replies

Participating Frequently
Nov 18, 2021 2:47 PM UTC

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,

 

 

Translate
Participating Frequently
Nov 19, 2021 2:02 PM UTC

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

 

Thanks in advance,

 

Louis

Translate
Participating Frequently
Nov 20, 2021 2:21 PM UTC

Anyone, please.

Translate
Participating Frequently
Nov 17, 2021 4:46 AM UTC

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.
Translate
Legend
Nov 17, 2021 11:11 AM UTC

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)

Translate
Participating Frequently
Nov 17, 2021 11:45 PM UTC

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,

Translate
Inspiring
Aug 28, 2021 2:06 AM UTC

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.

Translate
Participant
Nov 28, 2021 5:28 AM UTC

 

 

Translate
Participant
Nov 28, 2021 5:29 AM UTC

iam d

facing same issue

 

Translate
Participating Frequently
Sep 17, 2020 5:15 AM UTC

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

Translate
Peru Bob
Community Expert
Community Expert
Jul 10, 2020 3:11 PM UTC

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.

Translate
Participant
Jul 13, 2020 6:43 AM UTC

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.

Translate
Participant
Oct 26, 2020 4:47 AM UTC

Exact same issue as you...

Translate