Skip to content

Cloud Code not working properly #569

@petritz

Description

@petritz

I have a cloud code running on my parse-server. Some requests just work fine and with no problems, but some requests return weird errors.

So I have a function which performs a query on the database and returns the result. And when I try to get the result the following error occurs:
107: Received an error with invalid JSON from Parse: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>404 Not Found</title>\n</head><body>\n<h1>Not Found</h1>\n<p>The requested URL /classes/_User was not found on this server.</p>\n<hr>\n<address>Apache/2.4.10 (Debian) Server at localhost Port 80</address>\n</body></html>\n'

Another funny thing is that request.user.id seems to return a different objectId than the real one of the user.

I could not figure out a problem with my code, because it worked fine on parse.com.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions