【问题标题】:Parse Cloud 400 Bad Request with 141使用 141 解析 Cloud 400 错误请求
【发布时间】:2016-04-14 06:04:45
【问题描述】:

我有 hello world 的简单云代码

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

(main.js in cloud) 并且从我的解析 JS 应用程序中我有这个

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

在我请求此解析云 hello 函数后,它会响应 400 错误请求

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

请帮帮我。

【问题讨论】:

  • 这是因为解析服务器错误

标签: javascript parse-cloud-code


【解决方案1】:

您似乎没有在其中设置 URL。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2012-07-26
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2023-03-24
    • 2019-10-02
    相关资源
    最近更新 更多