• Register
0 votes

Problem :

The Salesforce developer account is not allowing my app to be authenticated through the oauth. Recently I just  changed my redirect url and I started getting below error:


How to resolve this issue?

8 4 2
2,300 points

Please log in or register to answer this question.

1 Answer

0 votes

Solution :

I have gone through your question. I will guide you in fixing your error. The salesforce always provides you with the Client Id and Client secret. After that the third party application can start accessing the System via a third party application.
So when you try to invoke Oauth Endpoint in your salesforce, you must send the callback URI. This is very important URL as the salesforce will invoke it once it successfully Authorizes and sends back you the Code. So please cross check if that Call back URI is exactly same as you specified in your Connected app settings as below.
As soon as the Application is defined the salesforce will try to send this information to all instances of its servers which will take some time.
So in your case it might have happened that you only changed a callbackURI and after that salesforce took a littele time to send those changes to instances as a result you were facing a redirectr URI mismatch or a URI that you were trying to use while invoking a salesforce was still a old URI. 

5 2 1
4,980 points

Related questions

0 votes
1 answer 7 views
Problem: I get a "List has no rows for assignment to SObject" error when trying to preview the visualforce page, but running the query in the developer console, returns the rows. Someone help.
asked 5 days ago salim1 60.6k points
0 votes
1 answer 3 views
Problem: Number fields on Account : "No of Contacts" Write trigger to populate/update field on Account record whenever a new Contact record is inserted or deleted. All is working fine but whenever i am deleting last contact record it is not updating Account field from ... AcctToUpdate; } All is working fine but whenever i am deleting last contact record it is not updating Account field from 1 to 0
asked 3 days ago anika11 32.2k points
0 votes
1 answer 2 views
Problem: I am trying to use Image from Static resource in Community using Design Attribute like <img src="{!$Resource.DealRegChannelRedDot}"/> but it's not working.it is showing blank like path is not correct <!-- Component --> <aura:component implements=" ... design:attribute name="bannerImage" label="Banner Image" /> </design:component> is there a way to achieve this using static resource?
asked 4 days ago anika11 32.2k points
0 votes
1 answer 5 views
Problem: I am unable to find out a solution Please solve it.how to create custom object in salesforce
asked Apr 17 ashik 14.6k points
0 votes
1 answer 4 views
Problem: Do you have any suggestions about,"how to create custom object in salesforce?"
asked Apr 10 sumaiya simi 43.9k points
0 votes
1 answer 5 views
Problem: Hey i am having this invalid session .. please help me to solve it .. invalid requester (person or application), possible invalid/expired session
asked Apr 1 Ifra 36.4k points
0 votes
1 answer 5 views
Problem: What are the freely available tools to clone data from one salesforce sandbox to another with minimal mapping work ?
asked Mar 27 ummesalma 29.2k points
0 votes
1 answer 13 views
Problem: Hello ... Can anyone tell me that why I got this error? sobject row was retrieved via soql without querying the requested field
asked Mar 25 Ifra 36.4k points
0 votes
1 answer 10 views
Problem: Can anyone tell me the solution of this problem?Invalid_cross_reference_key
asked Mar 22 Ifra 36.4k points
1 vote
1 answer 6 views
Problem : I'm trying to create a trigger that updates a given field when another field is updated. Here is my code: trigger UpdateYield on Account (before update) { Set<String> HS = new Set<String>(); for (Account hsName : Trigger.new) { if (hsName.High_School_LU__c ! ... a.Yield__c; } } } } } It saves however, it still does not work when I update the field. Any suggestions are acceptable.Thanks!
asked Mar 22 Sabbir Hossain 14.6k points