FM
08/14/2025, 7:26 PMthe protocol should be https://--.
This is my Request URL
https://myorg.my.salesforce.com/services/oauth2/token?grant_type={{grant_type}}&client_id={{client_id}}&client_secret={{client_secret}}
I've defined the parameters in the request body as recommended by another thread.
https://cdn.discordapp.com/attachments/1405633580838817935/1405633581308444804/image.png?ex=689f89c9&is=689e3849&hm=feddbb54f99468ff90226ecca171e83504a49a5d2ae285298aa2f13cd0e2133d&
https://cdn.discordapp.com/attachments/1405633580838817935/1405633581841252393/image.png?ex=689f89c9&is=689e3849&hm=a6a343feda2380b0bc582e95869cc0dad7713827d82be8cf88d19afaf2aadb61&Chiranjeet Mishra
08/15/2025, 8:06 PMhttps:// and that any parameters required are included in the body or URL appropriately.
Given the error message mentions the protocol, double-check that there aren't any trailing spaces or incorrect characters in your URL, especially right after https://. Also, ensure that your environment variables for grant_type, client_id, and client_secret are correctly resolved and do not contain unexpected characters or spaces. If you're using a tool like Postman or a script, confirm that escaped characters in the URL are properly handled.
If you believe the URL is correct, and you're still getting this issue, try explicitly setting the headers for Content-Type or any other required headers as per your API documentation.
Let me know if this helps or if you have further questions.FM
08/18/2025, 5:53 PMFM
08/20/2025, 11:51 AMChiranjeet Mishra
08/20/2025, 3:41 PMFM
08/21/2025, 12:05 AMFM
08/27/2025, 7:22 PMChiranjeet Mishra
08/29/2025, 4:31 PMFM
08/29/2025, 5:27 PMFM
08/29/2025, 5:28 PMChiranjeet Mishra
09/02/2025, 4:43 PMChiranjeet Mishra
09/03/2025, 7:22 AMFM
09/05/2025, 3:32 AMFM
09/16/2025, 10:34 PMChiranjeet Mishra
09/18/2025, 5:52 PMFM
09/18/2025, 11:34 PMChiranjeet Mishra
09/22/2025, 4:45 PMFM
09/22/2025, 4:46 PMFM
09/22/2025, 5:37 PMChiranjeet Mishra
09/25/2025, 6:16 AMFM
10/03/2025, 10:43 PMChiranjeet Mishra
10/07/2025, 10:33 PM