Closed
Description
Environment Setup
- Used the 'deploy to heroku' button from the migration guide
Steps to reproduce
- Upload this cloudcode function and call it
Parse.Cloud.define('debuggingFn', function(request, response) {
var query = new Parse.Query("Speech");
query.equalTo("speechId", "s_1456277936842");
query.find({
success: function(results) {
console.log('SUCCESS', results)
response.success("Success", results);
},
error: function(a, b) {
// ERROR CAUGHT HERE: 'Heroku | No such app'
console.log('ERROR', a, b)
response.error("Error");
}
});
});
Logs/Trace
- I expect to get a result, instead I get a (from the parse server logs)
ParseError {
2016-04-24T04:39:20.444057+00:00 app[web.1]: code: 107,
2016-04-24T04:39:20.444079+00:00 app[web.1]: message: 'Received an error with invalid JSON from Parse: _<bunch of html>_ <h1><strong>Heroku | No such app</strong></h1>\n <div class=\'article\'>\n <p>There is no app configured at that hostname.<br/>Perhaps the app owner has renamed it, or you mistyped the URL. _<bunch of html>_
Queries from the client website to my parse server work fine. Only the cloud code queries fail.
I believe I've followed every step from the migration guide, but googling doesn't return anyone else having this issue. So I guess I missed something?
This is the dependencies from my package.json file in the parse server project:
"dependencies": {
"express": "~4.11.x",
"kerberos": "~0.0.x",
"parse": "~1.8.0",
"parse-server": "~2.2.7",
"cors": "*"
},
Metadata
Metadata
Assignees
Labels
No labels