function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Aman Sharma 79Aman Sharma 79 

Authentication error in postman ?

While i am connecting to the post is show authentication failure like this -
{
    "error": "invalid_grant",
    "error_description": "authentication failure"
}
I have also created the connected app.
I have fill the body data as form-data given below-:
1. end point url -: 'https://login.salesforce.com/services/oauth2/token'.
2. client_id - 'my clent id'.
3. client_secret -'my client secret'
4. grant_type - 'password'.
5.password- 'my salesforce org password'.

please see where i am wrong??
 
Best Answer chosen by Aman Sharma 79
Malika Pathak 9Malika Pathak 9
Hi Aman,
You have to use your salesforce password + security token in your password field. Please ensure that no space is allowed in between them.
steps to get your security token:-
1. Go to salesforce org.
2. click setting (At the top right corner under your name displayed).
3. click the "Reset my security token" options display on the left menu.
4. then click on the reset security token button. Your token will receive in your email.

if you having a problem then Ask me 
Please mark Best Answer If Your Problem Is Solved
thanks, Regards,
Malika Pathak    

All Answers

Malika Pathak 9Malika Pathak 9
Hi Aman,
You have to use your salesforce password + security token in your password field. Please ensure that no space is allowed in between them.
steps to get your security token:-
1. Go to salesforce org.
2. click setting (At the top right corner under your name displayed).
3. click the "Reset my security token" options display on the left menu.
4. then click on the reset security token button. Your token will receive in your email.

if you having a problem then Ask me 
Please mark Best Answer If Your Problem Is Solved
thanks, Regards,
Malika Pathak    
This was selected as the best answer
andrew symon 10andrew symon 10
I have implemented a WebAPI in Appian and exposed it to a REST client. 
I am trying to use the Postman REST client but the authentication fails with the message "JBWEB000121: This request requires HTTP authentication. " 
The same WebAPI when exposed to the Advanced Rest client works perfectly and returns a 200 Status. 
To resolve this issue in Postman I have also integrated the Postman Interceptor in Postman but to no success. 
PFB the request in Postman: 

www.livetheorangelife.site
vishal kalevishal kale