-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
MongoError: "Encountered exception while executing Javascript. Query root must be specified." #3462
Comments
I've the exact same problem ! I'also host my parse server on azure and everything worked without problems until now. but today I'get the following error
|
Looks like it's an azure related issue. Can you try downgrading parse-sever or mongodb. Or look if there are known issues with the latests mongodb versions and azure's DocumentDB (I assume you're using azure's database) |
Yes I use azure DocumentDB. What I do not understand is that the problem has appeared suddenly on a release (2.3.1) that has worked well until now |
Uhm, that's odd indeed. But I have never seen that error before. Does that error occur on every queries? |
No only when I'try to "modify" an existing object |
Can you get in touch with Azure support? Their mongodb driver compatibility is hidden, and I don't recognize those errors. Also, __docDbMain hints to DocumentDB issue :) |
I've create an issue here felixrieseberg/parse-server-azure#13 |
@Skynext what release 2.3.1 are you talking about? The parse server version? |
@adambarghouthi yes the problem first appeared on parse server version 2.3.1 (while I had no problems with this version until then) I've update parse server to 2.3.2 but the problem persists |
@Skynext On my iOS app I'm seeing this error in the console of XCode {"code":1,"message":"Internal server error."}, looking around some people who encountered this general message said that there might be something wrong with Express version. What do you think? |
I get the exact same error !
Honestly I do not know, I do not see how the logs on the servers involve the express version. Just like @flovilmart suggests I've contacted the Azure support via stackoverflow http://stackoverflow.com/questions/41981297/mongoerror-encountered-exception-while-executing-javascript-query-root-must-b?noredirect=1#comment71142563_41981297 |
CAN you downgrade to 2.3.0 and see if the problem persists? |
Ok I will try ! Can you please very quickly explain me (or just give me a link) how can I downgrade parse server version on azure ? |
npm install packageName@versionNum --save --save-exact |
Another option would be to try with :latest as explained in as explained here it contains an updated version of the mongodb npm package |
I'm contacting Azure support about this now since I've seen the same issue with no changes to our server side in weeks. |
The Azure team is looking into it. |
@oproulx Thanks man! |
@Skynext any update? |
None yet. They've been pretty responsive in the past though. |
@oproulx how do I contact them also? maybe they'll up the ante on this issue when more people raise it |
Azure team has identified the issue and they are currently deploying a fix. ETA 2-3 hours. |
@oproulx GOLD, thanks a bunch!! |
@oproulx Thanks a lot ! |
I'm no longer seeing the errors on my end but we are running more tests to make sure everything is still operational. |
That's good news! Sorry you guys experienced a downtime with azure. |
Same thing @oproulx, will update if I see anything unusual |
@adambarghouthi pretty cool! |
Thanks a lot to everyone for your Help ! |
Closing this as resolved by the Azure team in Azure instances :) |
Hi guys,
I have my parse server on Azure now and everything has been working great for a month. Just today when Parse shut down I'm getting this error in my server console:
Don't know what the problem is.
What I've done so far:
Hope someone has a solution and has encountered it before, thank you!
The text was updated successfully, but these errors were encountered: