Alteryx Designer Desktop Knowledge Base

Definitive answers from Designer Desktop experts.

Salesforce Output tool - red box appears with "Error trying to retrieve access token"

SophiaF
Alteryx
Alteryx
Created

HTTP ERROR 405

Problem accessing /services/Soap/u/34.0. Reason:

Only POST allowed


Environment

  • Alteryx Designer
    • Version 10.5+
  • Salesforce Output Tool

Cause

Salesforce Lightning URLs are not supported. Lightning URLs take the following format:

https://mycompany.lightning.force.com

Solution

  1. Use a non-lightning URL. This can be provided by your Salesforce administrator and as looks as follows:
    https://na7.salesforce.com/

Additional Resources

Comments
lamar_josh
5 - Atom

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.