-
-
Notifications
You must be signed in to change notification settings - Fork 102
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
spawn: query engine errored #1128
Comments
Can you please set the env var |
Ok.....this is the full error
|
Anytime I run
Running Running
|
Thanks, first I saw the log agove might leak your credentials, so please change your credentials in your database immediately. I removed the log already so it doesn't happen in the future. Can you please share your Prisma schema? You can also email it to [email protected] if you prefer 🙏 |
Hi @steebchen I sent the schema lastweek to your mail. I had to rebuild the project again. But I noticed something. When connecting to my localhost, it's all good. But when connecting mongoDB atlas it is quite unstable.
|
I see thanks. What do you mean with unstable, does it only occur sometimes? Or is it never working with atlas? |
As it is now, it's not working with my atlas db connection URL |
I can reproduce now at least, so I'm investigating |
This comment was marked as outdated.
This comment was marked as outdated.
Ok somehow the query engine is panicking on some connection URIs, I have yet to figure out why... (prisma/prisma-engines#4613) |
To temporarily fix the issue you should be able to do
and re-generate, it's a small fix to make env vars work again, I still have to figure out the actual issue but hopefully you can continue for now 🙏 |
Thanks @steebchen . Also, note that I had to edit my MongoDB connection string This worked fine. |
@RalphLincoln can you please try again with It should work with the full connection string. Please set it using an env var and not with .WithDatasourceURL, I would appreciate a lot if you could let me know if this works for you. |
@steebchen This worked fine. |
Thanks for letting me know! |
spawn: query engine errored: expected value at line 1 column 1
This error occurs due to this.
The text was updated successfully, but these errors were encountered: