简体   繁体   中英

Parse Cloud 400 Bad Request with 141

I have simple cloud code with hello world

//on parse cloud main.js
Parse.Cloud.define("hello", function(request, response) {
   response.success("Hi");
});

( main.js in cloud ) and from my parse JS app i have this

Parse.initialize('KEY', 'KEY');
Parse.Cloud.run('hello').then(function(response) {
   // response
   console.log(response);
});

After i request this parse cloud hello function it response 400 bad request with

{"code":141,"error":"function not found"}

Please help me.

您似乎没有在那里设置URL。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM