I'm trying to get an access token using following curl:
curl --data grant_type=password&client_id=Y&client_secret=Z&username=A&password=B+C https://login.salesforce.com/services/oauth2/token
where Y = Consumer Key, Z = secret, A = username and B = password and C = security token.
I get the following error:
I followed the instructions at https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/intro_understanding_username_password_oauth_flow.htm. If anyone can tell me what I've done wrong, it would be brilliant. I've no clue why im getting this error.