0

当我尝试访问脚本实验室自定义功能功能时,我收到了消息。 脚本实验室-> 功能 所以问题甚至不在某些特定功能中,整个功能都不起作用。

Error:
{
    "stack": "RichApi.Error: There was an internal error while processing the request.\n    at new n (https://appsforoffice.microsoft.com/lib/beta/hosted/excel-win32-16.01.js:26:235928)\n    at n.o.processRequestExecutorResponseMessage (https://appsforoffice.microsoft.com/lib/beta/hosted/excel-win32-16.01.js:26:299150)\n    at https://appsforoffice.microsoft.com/lib/beta/hosted/excel-win32-16.01.js:26:297255",
    "message": "There was an internal error while processing the request.",
    "name": "RichApi.Error",
    "code": "GeneralException",
    "traceMessages": [],
    "innerError": null,
    "debugInfo": {
        "code": "GeneralException",
        "message": "There was an internal error while processing the request.",
        "errorLocation": "CustomFunctionManager.register",
        "statement": "v.register(...);",
        "surroundingStatements": [
            "var workbook = context.workbook;",
            "var v = Microsoft.ExcelServices.CustomFunctionManager.newObject();",
            "// >>>>>",
            "v.register(...);",
            "// <<<<<"
        ],
        "fullStatements": [
            "Please enable config.extendedErrorLogging to see full statements."
        ]
    },
    "httpStatusCode": 500
}

4

1 回答 1

0

我遇到过这个问题。我想我已经看到 2019 独立订阅和 Office 365 订阅以及运行的 Office js 脚本之间存在差异。就我而言,我登录了一个 365 企业订阅,它重现了所描述的相同错误。因此,我作为解决方法所做的只是注销。然后注册该功能,然后重新登录。注册的功能在登录后继续工作。

于 2022-02-14T14:07:34.327 回答