Skip to content
This repository has been archived by the owner on Jun 30, 2022. It is now read-only.

Ominchannel Facebook integration #616

Open
lisbonjoker opened this issue Jun 4, 2021 · 5 comments
Open

Ominchannel Facebook integration #616

lisbonjoker opened this issue Jun 4, 2021 · 5 comments

Comments

@lisbonjoker
Copy link

Description:

I can't use Facebook Messenger on Omnichannel. It just doesn't start-up or sometimes gives integration error.

Steps to reproduce:

I connect just like the instructions say, the page I want is selected and enabled, and nothing happens, when I check console I see that.

Server Setup Information:

  • Version of Rocket.Chat Server: 3.15.0
  • Operating System:
  • Deployment Method: tar
  • Number of Running Instances: 1
  • NodeJS Version: v12.18.4
  • MongoDB Version: 4.4.6 / wiredTiger

Client Setup Information

  • Desktop App or Browser Version: Ungoogle Chromium
  • Operating System: Windows 10 AME

Relevant logs:

Exception while invoking method livechat:changeLivechatStatus Error: Not allowed [error-not-allowed]     at MethodInvocation.livechat:changeLivechatStatus (app/livechat/server/methods/changeLivechatStatus.js:23:10)     at MethodInvocation.methodsMap.<computed> (app/lib/server/lib/debug.js:76: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:263: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  => awaited here:     at Promise.await (/opt/Rocket.Chat/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:60:12)     at Server.apply (packages/ddp-server/livedata_server.js:1638:22)     at Server.call (packages/ddp-server/livedata_server.js:1607:17)     at Object.post (app/api/server/v1/misc.js:263: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
I20210531-13:19:21.080(0) Exception while invoking method livechat:facebook Error: Authorization header required [integration-error]     at MethodInvocation.livechat:facebook (app/livechat/server/methods/facebook.js:59:12)     at MethodInvocation.methodsMap.<computed> (app/lib/server/lib/debug.js:76: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:263: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  => awaited here:     at Promise.await (/opt/Rocket.Chat/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:60:12)     at Server.apply (packages/ddp-server/livedata_server.js:1638:22)     at Server.call (packages/ddp-server/livedata_server.js:1607:17)     at Object.post (app/api/server/v1/misc.js:263: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
@johncrisp
Copy link

This should be in the livechat repo - moving there.

@johncrisp johncrisp transferred this issue from RocketChat/Rocket.Chat Jun 6, 2021
@johncrisp
Copy link

Please describe what you did from the start.

Did you follow this?

https://docs.rocket.chat/guides/omnichannel-guides/omnichannel-admins-guide#facebook

Have you got your Facebook keys?

@lisbonjoker
Copy link
Author

I did, didn't work tried resetting and do it again

@johncrisp
Copy link

Hi,

How have you deployed Rocket.Chat on a Windows machine? Please make sure you test on the latest version too - 3.16.3 right now.

What are you using for a web proxy and how is that set up?

How have you set up your Facebook page?

Unless we have a lot more details we can't really help you. It seems more a setup issue rather than a bug.

Please let us know the full details or we'll have to move this to the forums or open.rocket for community support.

Thanks.

@karlosgaldino
Copy link

A minha integração estava funcionando normalmente, até quem um certo dia parou de funcionar. Até hoje não funciona mais.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants