RocketChat / Rocket.Chat

The communications platform that puts data protection first.
https://rocket.chat/
Other
40.07k stars 10.34k forks source link

method livechat:changeLivechatStatus Error: Not allowed 2 [error-not-allowed] #19456

Closed theanhvo closed 3 years ago

theanhvo commented 3 years ago

Hi team, I'm stick enable Omnichannel show 'Not allowed' with logs:

[39mException while invoking method livechat:changeLivechatStatus Error: Not allowed  [error-not-allowed]
 MethodInvocation.livechat:changeLivechatStatus (app/livechat/server/methods/changeLivechatStatus.js:23:10)
 at MethodInvocation.methodsMap.<computed> (app/lib/server/lib/debug.js:67:34)
 at maybeAuditArgumentChecks (packages/ddp-server/livedata_server.js:1771:12)
 at packages/ddp-server/livedata_server.js:1689:15
 at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1234:12)
 at packages/ddp-server/livedata_server.js:1687:36
 at new Promise (<anonymous>)
 at Server.applyAsync (packages/ddp-server/livedata_server.js:1686:12)
 at Server.apply (packages/ddp-server/livedata_server.js:1625:26)
 at Server.call (packages/ddp-server/livedata_server.js:1607:17)
 at Object.post (app/api/server/v1/misc.js:262:26)
 at app/api/server/api.js:394:82
 at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1234:12)
 at Object._internalRouteActionHandler [as action] (app/api/server/api.js:394:39)
 at Route.share.Route.Route._callEndpoint (packages/nimble_restivus/lib/route.coffee:150:32)
 at packages/nimble_restivus/lib/route.coffee:59:33
 at packages/simple_json-routes.js:98:9
Nov  4 11:04:08 ser-chat chat-rocket[3264]: #033[34mI20201104-11:04:08.803(0)? #033[39m => awaited here:
 at Promise.await (/home/rocket/.meteor/packages/promise/.0.11.2.1v7zocd.8lfi++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/meteor-promise/promise_server.js:60:12)
close-issue-app[bot] commented 3 years ago

This issue was closed because it does not use our bug report issue template.

Please make sure to use it and fill it as much as you can so we can provide better and faster support.

The following sections must not be removed, or else the BOT will close it immediately again: