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
Chad SaarChad Saar 

REST API - Why is it requesting a token for the token request page?

I am trying to get my first token from

I make the below request and the server responds " error_description: "authentication failure - Failed: API security token required"" error: "invalid_grant"

The server I am asking to provide a token is requesting a token from me?!? Also why is "Password" and invalid grant type? It is in the documentation here:

POST Contents

Michael VerhovskiMichael Verhovski
You must append the security token to password A security token is an automatically-generated key from Salesforce. For example, if a user's password is mypassword, and their security token is XXXXXXXXXX, then the value provided for this parmeter must be mypasswordXXXXXXXXXX. For more information on security tokens see “Resetting Your Security Token” (