Unable to generate access token getting 401
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2023 02:32 AM
Trying to get access token using command
curl -H "Content-Type: application/x-www-form-urlencoded" -d "grant_type=password&client_id=<client-id>&client_secret=<secrect>&username=<user>&password=<password>" https://<instance>.service-now.com/oauth_token.do
but getting error
{"error_description":"access_denied","error":"server_error"}
validated all the mentioned parameters in curl command but always getting same error
0 REPLIES 0