• Borys Serwik
  • NEWBIE
  • 0 Points
  • Member since 2021

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 2
    Replies
Problem with connecting to org using curl (Trailhead - Apex Web Services module)
I tried following the instructions given in the module (https://trailhead.salesforce.com/content/learn/modules/apex_integration_services/apex_integration_webservices). The code for connecting to the org using curl is as follows: 

curl -v https://login.salesforce.com/services/oauth2/token -d "grant_type=password" -d "client_id=<your_consumer_key>" -d "client_secret=<your_consumer_secret>" -d "username=<your_username>" -d "password=<your_password_and_security_token>" -H 'X-PrettyPrint:1'

I supplied all the credentials needed in the curl command but I keep getting this error whenever I execute the command: 

{"error":"invalid_grant","error_description":"authentication failure"}* Connection #0 to host test.salesforce.com left intact

help me plz......
(New org, Superbadge: App Customization Specialist, Step 4)
Cant figure out why Volunteer Jobs isnt showing up. Double checked the relationships and all and couldnt find anything wrong. Would appreciate any help on the matter.
User-added imageUser-added image
  • February 28, 2019
  • Like
  • 1