-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
invalid key name: _noBody #448
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
Comments
Can you check in your mongo database, do many of your LockRecord objects have a _noBody key on them? |
Hi, I just check the LockRecord table, no _noBody key was found~
For your information, this database is migrated from my existing Parse's DB. using the 'migrate' button... this problem is the first-time happened to me (after self-host), and I am new to mongodb) Also, the SaveAsync() fail issues happened on ParseUser as well, when I try to update a _User field from the client code. Thanks. |
Ok, looks like the dot net SDK sets this field and we're choking on it... https://github.com/ParsePlatform/Parse-SDK-dotNET/search?utf8=%E2%9C%93&q=_noBody Valid bug, will work on a PR. |
Hi, I just updated the parse-server to v2.1.0, I confirmed that the parse-server is v2.1.0. Thanks a lot. |
No, 2.1.0 was supposed to supposed to fix this issue. We'll take a look. If you want to help, you could submit a PR that includes a failing test case :) |
Hi, gross, I do want to help, can I submit a PR with code snippet in c# ? because I am developing on Unity c# . currently, I am quite sure that this is ONLY happened in Unity ( Not in VS dotNet project) :) |
Currently our test setup is only JavaScript, sorry :( the Unity SDK is the only one uses the |
If the previous fix didn't work (removing _noBody from the request.body,) it's possible that this option is being passed as the request.query string... If you add some a console.log statement to print these out and make a few requests, you might be able to pinpoint the issue. |
HI,
https://github.com/ParsePlatform/Parse-SDK-dotNET/search?utf8=%E2%9C%93&q=_noBody I will keep checking for any side-effect of removing the _noBody key. Hope this help some other Unity developer. |
@gfosco this is actually for non POST methods: https://github.com/ParsePlatform/Parse-SDK-dotNET/blob/f577ee38a0d55a199a473065b18acad084e4b083/ParseCommon/Internal/HttpClient/Unity/HttpClient.Unity.cs#L43
|
Yes, I found that 'update' & 'delete' object will use PUT methods.... |
Assuming that #512 corrected things in 2.1.3. Please re-open if not. |
Hi,
I create an ParseObject in client side,
then, try to update the record using below code.
..
the saveAsync() failed....
when I print out the exception msg, it said "invalid key name: _noBody"
this error happen after I host the server myself, it is not happened before~
Can someone give me some hints? Thanks a lot.
The text was updated successfully, but these errors were encountered: