Skip to main content
I am trying to go to https://login.salesforce.com/services/oauth2/authorize?client_id=3MVG9HxRZv05HarRSLB9DXXecYwIjvp5bTXOSgJDeX7rfqxNj1AshD3hy.OksG0ozEVmNEKrbchW21qna0dmC&response_type=code&state=eyJpbml0VmVjdG9yIjoiRUE0YUhXMVNyK1VVVU92cHo1b3R1dz09IiwicGF5bG9hZCI6IklPQ2JxMFkrcXJiTlJ5YkhoVkdlYUg1d1hxdVpzeDUrKzRPMmc2SVJaRjlabWZRblorZ0YyY3c0aXNQbXA0VjFES2Y0RmVvSkpvNk1mckZpWkc4YXIwOGtpOUxmQ1p5VTRQajNlUjcxOExzRFJiZHNBSXI0NjlLbFhiYXA5cEJ3TVE2TW5BN1pvY29CTzZqK2xTbEszWkw2YUhORHY1UmVUcWVsTkIrY2c4VnBqMnNLQk1DSlpxOUl4QnVvSkx0UUFuck1scDQ5YS9vOG9DZ3NPVk1nREhaLzRDRlBTNEgwTTdVMCtwMWJZL1lqcHc1UzZtb0hYTmcxOVNNVXhwUjlHOHliMW1yZyt4Tm9qV3FQNURRa2syRUdteXRQdXdrZkNqanVSTWg2Um1uVGNGZUxpeVVJUWZaY2p2WXQ4ZDJGNEhjNmpxc2s2ZkVXdXpWTW5JTjhkdHJLRW0rRGprWjhObEFVdGMzTXVBd0ViaHp0cW5leG96L21sMVFBRSsyNnFRZm5mZFQyMFdCNUFNSUVuM09tWWtMZ0ozMEhWaHZVSjFaOUt5b3VSMzR2ZVdaVlhsQkUvb0xlNGF3NkRIV1pkK01kZDd2Mi9maEZxaTdhV080aXFuRjRDUjhEbXptTWpmY2hiY05WM2NxQVZIdG5GaFVBSGhodmFqMU5Ya21XREpiRHAzMW1PTFI0WmxVb0I0RkZUOVlKT0Mva0pnZnBVRGt3NjF1UG9ib2VYeG9OMjhVZ0FEOFk0L1k3a0thcWhKNkFudStydVUvWTRWMU81bFdpVzFJUFZlaUFnSXhDU3BaMWtJcks5SlZYNTIzbEdRdXJCOTF4SzNnTWNVaUF4dTArN3ZGZXBUT0ptYlRkZ1dyNkM3R29oNFI2bUdYbUxtZHdNUythNmRrd3h5MUJ0ejAzZURNSGxGemtjQTRuQkZXREYrMXhvVm5Oci9vd0gxSUhzRjk3d0FHak5TYmpwNXNrK0h3L21hWEMrSTJkUmNia2xRY3VEVE9Ba2RFS2ZwRGRTWS9MTUNFSVhlRXVnaGZselNaWHZMZFc3dGFCclp6bDlPb0daTVBpQWZjNXVYVjBCQmNPN0cxZDNtR01qbkJ5d1lreUpDUWZidjAvbVpzUUpMQjZOdXhXM2JJd0kwNFUxZ1ZxQkZxY09ob1JMZ2FFVTBXYUdtVm12Tjl5dm9JNnJYTVdsUlZWU0lqcTFkaXlGdz09IiwidmVyc2lvbiI6MX0&scope=full&redirect_uri=https%3A%2F%2Fpitangui.amazon.com%2Fapi%2Fskill%2Flink%2FM2K0M9X6TN04V2

I am receiving rror=redirect_uri_mismatch&error_description=redirect_uri%20must%20match%20configuration

Why I have an error: error=redirect_uri_mismatch
3 respuestas
  1. 5 may 2017, 5:52
    Hello John,

    As error states mismatch URI means your Redirect URI is not same as you have entered in your connected App in Callback URL.

    You need to take care of the URI in both places While creating Connected in Salesforce Org and while making the callout.

    Redirect URI used in the Request must be same as the CallbackURL in the ConnectApp.

    I have noticed that in your case Redirect URI of the request is https://pitangui.amazon.com/api/skill/link/M2K0M9X6TN04V2 which is in encoded form and in the connected app is not the same. this is why your are getting error.

    Callback URL is the URL where user will be redirect after authorizing the APP.

    Let me know if you need any help :)

    Thanks,

    Amit Singh