Skip to content

Error after migrating data to MongoDB #304

Closed
@talkaboutdesign

Description

@talkaboutdesign

I deployed Parse server on Heroku. Everything worked great when database was blank, I even tried creating , updating, and fetching objects from it to test. Worked amazing.

I started migration process from Parse, and now I am in the stage where I would like to verify that data is working. I haven't pressed finish migration on Parse.com. Want to test my own parse server first.

Data is in the DB. Everything looks good. When I try to fetch objects from it I get this error in Xcode:

[Error]: {"code":1,"message":"Internal server error."} (Code: 1, Version: 1.12.0)
[error: {"code":1,"message":"Internal server error."}, NSLocalizedDescription: {"code":1,"message":"Internal server error."}, code: 1]

Heroku Logs show this:

2016-02-08T21:25:51.046324+00:00 app[web.1]: Uncaught internal server error. [Error: Invalid mongoURI: URL IS HERE HIDING FOR SECURITY] Error: Invalid mongoURI: URL IS HERE HIDING FOR SECURITY
2016-02-08T21:25:51.046328+00:00 app[web.1]:     at ExportAdapter.connect (/app/node_modules/parse-server/ExportAdapter.js:39:11)
2016-02-08T21:25:51.046331+00:00 app[web.1]:     at new Config (/app/node_modules/parse-server/Config.js:16:35)
2016-02-08T21:25:51.046334+00:00 app[web.1]:     at trim_prefix (/app/node_modules/parse-server/node_modules/express/lib/router/index.js:312:13)
2016-02-08T21:25:51.046335+00:00 app[web.1]:     at Function.process_params (/app/node_modules/parse-server/node_modules/express/lib/router/index.js:330:12)

I checked my Mongo URI and it looks good. Not sure what the issue is.

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