Skip to main content
Question

Salesforce connected web app - web service configuration issue

  • 15 July 2024
  • 9 replies
  • 98 views

Hi,

I am trying to configure a web service to use the Salesforce Connector.  When trying to test the connection, I keep getting error:

error=redirect_uri_mismatch&error_description=redirect_uri%20must%20match%20configuration

 

I believe this relates to the callback URI syntax, but I don’t know what it should be.. any ideas?

9 replies

Userlevel 3
Badge +15

Hello @alsherren, thanks for posting to the FME Community! Can you try setting the Callback URL (in Salesforce) and the Redirect URI (in FME Form) to : https://localhost 

Please update me on whether this resolves the error. Happy to help, Kailin.

Badge +2

Hi @kailinatsafe thanks for the suggestion;  I have tried but now get a different error:

 

Userlevel 3
Badge +15

Hello @alsherren, can you confirm the callback URL is set to localhost in salesforce as well? I think the main idea is to have callback URL in salesforce and the redirect URI in fme set to the same value. If you’re still having issues, perhaps consider submitting a support case! Best, Kailin.

Badge +2

HI @kailinatsafe Where should this be done?  I can confirm the callback URL has been set in the app manager settings:

Userlevel 3
Badge +15

Hello @alsherren, awesome - that looks correct on the salesforce side. Within FME Form, we can set https://localhost as the Redirect URI in the following location: 

 

Let me know if this works or if we are still unable to connect. Best, Kailin.

 

Badge +2

Hi @kailinatsafe I can confirm URI has been set to the same in the Salesforce (Read Only) web service, and still produces same error as previously.

Userlevel 3
Badge +15

Hello @alsherren, hmm… apologies! I think we need to take a closer look at what is going on. Are you able to submit a support case please? Best, Kailin

Badge +2

@kailinatsafe  thank you, I have done that now (https://support.safe.com/hc/en-us/requests/48237)

Badge +2

@kailinatsafe are you able to give any sort of ballpark timescale for someone to start actioning?  I’ve set ticket to ‘medium’ urgency but don’t know what that means..

Reply