Skip to content

I'm getting "code":105,"error":"invalid key name:" when I do a POST in my server! #1641

Closed
@ckarmy

Description

@ckarmy

I really need help to implement a fix that solve my problem (similar to #68). I saw that in #105 there is a fix but in my parse-server I don't have any file called classes.js. How can I implement this?

Like @mkpazon say:

The problem seems to be due to JSON handling.
The client sends the following JSON in the body
{"where":"{"status":200,"user":{"__type":"Pointer","className":"_User","objectId":"F2ozm6Hgew"}}","count":"1","_method":"GET"}

but the parse-server returns an error.

Changing the above JSON to the following is successful
{"where": {"status":200,"user":{"__type":"Pointer","className":"_User","objectId":"F2ozm6Hgew"}},"count":"1","_method":"GET"}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions