Hello there, Roy! 馃檪
Can you please look for a request to api.zeit.co in the devtools "Network" panel, and paste / take a screenshot of the response?
I'm seeing the same error:

Browsing to https://api.zeit.co/v3/now/deployments results in {"error":{"code":"forbidden","message":"Not authorized"}}
I wonder if this could be related to #1647?
@JasonGore You can't directly access that URL in the browser, as you need an authorization header. Can you please take a look in "Network" at a failed request and check that you're sending an Authorization header?

If the header is there, and you still get a 403 error, can you please sign out of Zeit and sign in again from inside CodeSandbox's Preferences -> Integrations?
I wonder if this could be related to #1647?
That lambda is only used to fetch TypeScript typings, it has nothing to do with the Zeit integration.
Hi @lbogdan ,
Below is the console when deploy error happen.
Please help to advice.
...
Screenshot:
https://gyazo.com/5c5693f78989e20f70e6e136daa11a25
...
raven.js:55 HttpProviderError: {"error":{"code":"invalid_files","message":"One or more file definitions contain errors in them","errors":[{"reason":"duplicated_file_path","path":"package.json"}]}}
at t (https://codesandbox.io/static/js/vendors~app.1348226f.chunk.js:1:1779)
at new t (https://codesandbox.io/static/js/vendors~app.1348226f.chunk.js:1:2535)
at Object.onResponse (https://codesandbox.io/static/js/vendors~app.1348226f.chunk.js:1:1296)
at XMLHttpRequest.
at XMLHttpRequest.d (https://cdn.ravenjs.com/3.21.0/raven.min.js:2:4340)
Yup, this looks like a bug on our part, will take a look at it this week!
Cc @SaraVieira
Hey!
This is a bug on our side I will take a look this week, maybe today still
Sorry for the problem
Hi Sara,
Noted. Just FYI, I faced the same bug when deploying Vue.js too.
Let me know once bug fixed.
It's a general thing I think
Debugging it now
This must be the same issue I am getting. I have an open conversation on Spectrum w/ Sara.
Yes @Natetronn this seems like its the same issue
I just made a PR that fixes the bug
This PR should have fixed the issue, I will post vhere when it's live :)
@Natetronn @roy1210 it has been deployed, let me know if you still have issues
Also I bumped into the thing that now only recognizes now-build in your package.json , it doesn't use build
@lbogdan @SaraVieira Noted, Thank you!
Thanks, Sara! The Gatsby example is now working as expected.
I'm still getting the same error here, however: https://codesandbox.io/s/6v3v3yxy0k
https://github.com/Natetronn/now-examples/tree/master/static
Works locally and is an example direct from Zeit, with the added package.json to import from Github and work in codesandbox.
Note: this is static, so no build scripts.
POST https://api.zeit.co/v3/now/deployments?forceNew=1 403
raven.js:55 HttpProviderError: {"error":{"code":"legacy_deployment_not_allowed","message":"You tried to create a Now 1.0 deployment. Please use Now 2.0 instead: https://zeit.co/upgrade"}}
at t (https://codesandbox.io/static/js/vendors~app.76d08125.chunk.js:1:1779)
at new t (https://codesandbox.io/static/js/vendors~app.76d08125.chunk.js:1:2535)
at Object.onResponse (https://codesandbox.io/static/js/vendors~app.76d08125.chunk.js:1:1296)
at XMLHttpRequest.<anonymous> (https://codesandbox.io/static/js/vendors~app.76d08125.chunk.js:1:8453)
at XMLHttpRequest.d (https://cdn.ravenjs.com/3.21.0/raven.min.js:2:4340)
Like last time, I just assume it's me but, thought I'd pass along what I've found, in case it's not me.

hey!
These errors mean you need to use version 2 of now and you can't use version one anymore so this means you need a now.json
The box contained a version 2 now.json and deployed locally, with zero issues.

When trying to sign in to Zeit from the _Integrations_ section in _Preferences_ I get the following popups:
Invalid request: `redirect_uri` is not a valid URI
and
Could not authorize with ZEIT
Most helpful comment
When trying to sign in to Zeit from the _Integrations_ section in _Preferences_ I get the following popups:
and