Cors origin not whitelisted
Hi Team,
I'm getting the following error when trying to create a new file could you please help me out?
{
"type": "error",
"status": 403,
"code": "cors_origin_not_whitelisted",
"context_info": {
"origin": "chrome-extension://fhbjgbiflinjbdggehcddcbncdddomop"
},
"help_url": "http://developers.box.com/docs/#errors",
"message": "Access denied - Did you forget to whitelist your origin in the CORS config of your app?",
"request_id": "x3wXXXXXXXXX"
}
-
Hi . I assume you are trying to upload a file from a website. In that case you need to explicitly allow the domain this site runs on to make API calls. We have more written up on that here: https://developer.box.com/reference#cors
-
facing below error:
when trying to implement content explorer:
https://developer.box.com/guides/embed/ui-elements/explorer/
var contentExplorer = new Box.ContentExplorer();//Show the content explorer
contentExplorer.show(configData.FOLDER_ID, configData.ACCESS_TOKEN, { container: ".container"});
ERROR in browser console: explorer.js:173
{type: 'error', status: 403, code: 'cors_origin_not_whitelisted', context_info: {…}, help_url: 'http://developers.box.com/docs/#errors', …}
( -
Hi Team,
I am trying to Integrate the box content explorer following below snippet:
https://codepen.io/box-platform/pen/wdWWdN
in my custom application facing error :
type: 'error', status: 403, code: 'cors_origin_not_whitelisted', context_info: {…}, help_url: 'http://developers.box.com/docs/#errors', …}
Please sign in to leave a comment.
Comments
8 comments