-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deployment Error with Boxed Error #197
Comments
Which cluster are you deploying to? |
To prisma-us1 |
So @marktani I figured it out. It was syntax error on my end but to help anyone that gets this error, It means your db schema is bad and in my case here is the issue i added the unique directive to a field of type User
The unique directive on the user of type User there which I placed accidentally was the issue. So boxed error is a syntax error |
Thanks, that's super helpful! I'll try to reproduce this and report in the Prisma repo. |
I can't reproduce this, can you share your entire datamodel? |
@marktani You can reproduce this error like this;
Notice In my case I intentionally did that, because I want every user to have single profile. How can I achieve this? |
That discussion provides further context: https://www.graph.cool/forum/t/graphql-prepare-issue-again/3414?u=nilan |
@BatuhanW, you cannot mark list or relation fields as |
Note that this error is returned when running |
After a new prisma init, deployment to the cloud fails with Boxed error. Old projects deploy fine.
The text was updated successfully, but these errors were encountered: