function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Daniel TerrazaDaniel Terraza 

400 Bad Request After getting AutorizationCode

Hello,

I have an AppexEchange Applicaiton that uses oAuth2 to gaing access for a conected app.

The process work properly, but for one specific account  after the AutorizationCode was recived, when I try to get a new Token I get an Error "400 Bad Request".

his same process work properly for many other clients how installed the app. Only for one specific account does not work. Its a Enterprice license account.

I checked the user's profile have API access enable and there is not IP restriccions.

Can you please help to see what can be making this AutorizationCode to generet a "400 Bad Request".

Thanks.
 
Marty C.Marty C.
Hello, Daniel, have you checked that your requests are going to the correct endpoint? Perhaps you can investigate whether My Domain is enabled and affects the endpoint your request needs to reach?