Skip to main content

Hello,

I am trying to set up a secure cloud to cloud file transfer from a site called Newforma Info Exchange.  It offers Box as an option.  When I click “connect to Box” the following error is shown (attached screenshot).  

 

Hi ​@mgut99

Welcome to Box Community and we’re pleased to assist! 

 

You receive a "redirect URI mismatch" error when authenticating to Box via API. Click "Show Details" to see which redirect URI is affected.

 

To resolve this, you can change the redirect URL used in your application code to strictly match the URL in the developer console, or update the redirect URL in the Box Developer Console configuration tab for your application.

 

Option 1: Update your Code

For option #1, please modify your application code to replace the impacted URLs to strictly match the URL in the Developer Console.

Option 2: Update your App

For option #2, please use these steps:

  1. Login to Box as the application owner and navigate to the Box Developer Console
  2. Click on the application and navigate to the configuration tab
  3. Scroll down to the "OAuth 2.0 Redirect URI" section
  4. Update the current URL listed. In the above example, we'd add http://localhost:3000/callback.

Screenshot 2025-05-20 at 2.29.02 PM.png

Note

If the Redirect URIs section does not appear, your app is not OAuth 2.0 standard, and you’ll need to authenticate differently. See our resources here for next steps: https://developer.box.com/guides/authentication/.

 

You can find this troubleshooting guide here

 

Hope it helps and we’re looking forward to get this sorted out very soon! 


Reply