08-12-2019 01:19 PM - edited 08-03-2021 02:06 PM
Problem accessing /services/Soap/u/34.0. Reason:
Only POST allowed
Environment
Cause
Salesforce Lightning URLs are not supported. Lightning URLs take the following format:
https://mycompany.lightning.force.com
Solution
https://na7.salesforce.com/
Additional Resources
I was having a similar but slightly different error that I was able to resolve. I'm going to post the solution just in case it helps someone else. The error I received was very similar but slightly different:
Error: Salesforce Output (1): Tool #92: Error trying to retrieve access token. HTTP/1.1 307 Temporary Redirect ... Data from server:
I was getting this error when pointing to our sandbox environment, and previously I had connected without any issues. The error occurred on the Salesforce Output connector, and I had no issues using the exact same credentials on the Salesforce Input connector. What I discovered was that our URL had changed slightly since I first configured the connectors:
Original URL:
https://[companyname]--TestBox.cs95.my.salesforce.com
Updated URL:
https://[companyname]--TestBox.my.salesforce.com
I have no idea how or why this change occurred, but the original URL worked fine for months until one day it just stopped working. I almost ignored this article since I knew I was using a non-lightning URL, but I went back and double-checked the URL just to be sure, and sure enough mine had changed. Hope this helps someone else out there.