{"action":"opened","issue":{"url":"https://api.github.com/repos/Autodesk-Forge/forge.oss-js/issues/1","repository_url":"https://api.github.com/repos/Autodesk-Forge/forge.oss-js","labels_url":"https://api.github.com/repos/Autodesk-Forge/forge.oss-js/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/Autodesk-Forge/forge.oss-js/issues/1/comments","events_url":"https://api.github.com/repos/Autodesk-Forge/forge.oss-js/issues/1/events","html_url":"https://github.com/Autodesk-Forge/forge.oss-js/issues/1","id":178978273,"number":1,"title":"Error with Browserify bundle file","user":{"login":"khoaho","id":1810890,"avatar_url":"https://avatars.githubusercontent.com/u/1810890?v=3","gravatar_id":"","url":"https://api.github.com/users/khoaho","html_url":"https://github.com/khoaho","followers_url":"https://api.github.com/users/khoaho/followers","following_url":"https://api.github.com/users/khoaho/following{/other_user}","gists_url":"https://api.github.com/users/khoaho/gists{/gist_id}","starred_url":"https://api.github.com/users/khoaho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khoaho/subscriptions","organizations_url":"https://api.github.com/users/khoaho/orgs","repos_url":"https://api.github.com/users/khoaho/repos","events_url":"https://api.github.com/users/khoaho/events{/privacy}","received_events_url":"https://api.github.com/users/khoaho/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-23T21:33:59Z","updated_at":"2016-09-23T21:33:59Z","closed_at":null,"body":"Hi Cyrille,\r\n\r\nI follow instruction to install forge-oss with npm and run `browserify main.js > bundle.js`, with main.js is either callback version or Promise version. The file main.js also has \"YOUR ACCESS TOKEN\" getting from Forge OAuth with `scope = bucket:create`.\r\n\r\nThe HTML test file of bundle.js is very simple as:\r\n\r\n```html\r\n<html>\r\n<head>\r\n</head>\r\n<body>\r\n\t<script src=\"bundle.js\"></script>\r\n</body>\r\n</html>\r\n```\r\n\r\nHowever, it gets error at api.createBucket:\r\n> XMLHttpRequest cannot load https://developer.api.autodesk.com/oss/v2/buckets. Request header field x-ads-region is not allowed by Access-Control-Allow-Headers in preflight response.\r\n\r\nCould you please check the bundle.js created from Browserify.\r\n\r\nThank you,\r\nKhoa"}}
{"actor":{"display_login":"khoaho"}}