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
Alexis Scott 16Alexis Scott 16 

URI redirect 400 error Files Connect Google Drive

Hello, 

I am setting up Files Connect for google drive and I keep getting the following error: 

The redirect URI in the request does not match the ones authorized for the OAuth client. 

I have checked multiple times and the callback uri I entered is the correct one. Is there a way to fix this? I do not get why I am getting this error since I entered the callback uri in google correctly. 

Does it take time for this to work properly? 
SandhyaSandhya (Salesforce Developers) 
Hi,

Did you refer below help article and followed all the steps.

https://help.salesforce.com/articleView?id=000239696&language=en_US&type=1
 
Best Regards,
Sandhya
Alexis Scott 16Alexis Scott 16
Yes, I followed these guidelines and the redirect uri matches the one from salesforce (copied it to google ). Still getting the error, though.