Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Livechat Triggers don't work #15842

Closed
franckadil opened this issue Nov 21, 2019 · 1 comment · Fixed by #15897
Closed

Livechat Triggers don't work #15842

franckadil opened this issue Nov 21, 2019 · 1 comment · Fixed by #15897

Comments

@franckadil
Copy link

Rocketchat have been updated to 2.2.1 but the fix doesn't seem to have been ported to that build. So livechat triggers still don't work as suggested by this PR -> #320.

Original Issue: RocketChat/Rocket.Chat.Livechat#325

The error is still the same:

Error

{"isClientSafe":true,"error":"invalid-agent","message":"[invalid-agent]","errorType":"Meteor.Error","success":false}

Error Log

Rocket.Chat.js.SDK.chunk.77365.js:1 GET https:[REDACTED]/api/v1/livechat/agent.next/54ev0oswlpbmk3bcju3d5?department= 400 (Bad Request)
t.get @ Rocket.Chat.js.SDK.chunk.77365.js:1
(anonymous) @ Rocket.Chat.js.SDK.chunk.77365.js:1
(anonymous) @ Rocket.Chat.js.SDK.chunk.77365.js:1
(anonymous) @ Rocket.Chat.js.SDK.chunk.77365.js:1
(anonymous) @ Rocket.Chat.js.SDK.chunk.77365.js:1
AtlH.s @ Rocket.Chat.js.SDK.chunk.77365.js:1
o.request @ Rocket.Chat.js.SDK.chunk.77365.js:1
o.get @ Rocket.Chat.js.SDK.chunk.77365.js:1
(anonymous) @ Rocket.Chat.js.SDK.chunk.77365.js:1
(anonymous) @ Rocket.Chat.js.SDK.chunk.77365.js:1
(anonymous) @ Rocket.Chat.js.SDK.chunk.77365.js:1
(anonymous) @ Rocket.Chat.js.SDK.chunk.77365.js:1
s @ Rocket.Chat.js.SDK.chunk.77365.js:1
e.nextAgent @ Rocket.Chat.js.SDK.chunk.77365.js:1
(anonymous) @ bundle.3d895.js:1
(anonymous) @ bundle.3d895.js:1
(anonymous) @ bundle.3d895.js:1
s @ components.chunk.cfef5.js:1
(anonymous) @ components.chunk.cfef5.js:1
(anonymous) @ components.chunk.cfef5.js:1
s @ components.chunk.cfef5.js:1
(anonymous) @ bundle.3d895.js:1
h.fire @ bundle.3d895.js:1
(anonymous) @ bundle.3d895.js:1
livechat:1 Uncaught (in promise) {status: 400, data: {…}}
Promise.then (async)
(anonymous) @ bundle.3d895.js:1
s @ components.chunk.cfef5.js:1
(anonymous) @ components.chunk.cfef5.js:1
(anonymous) @ components.chunk.cfef5.js:1
s @ components.chunk.cfef5.js:1
(anonymous) @ bundle.3d895.js:1
h.fire @ bundle.3d895.js:1
(anonymous) @ bundle.3d895.js:1

Information

Version 2.2.1
Apps Engine Version 1.7.0
Database Migration 166
November 21, 2019 8:08 PM
Database Migration Date April 10, 2019 2:24 AM
Deployment ID Jvqn2LLSEkfF36vup
Hash | e7334ab4daca0301ed53865f6f7822b46c295d22
-- | --
Date Tue Nov 19 20:20:03 2019 -0300
Branch HEAD
Tag 2.2.1
Author Diego Sampaio
Bump version to 2.2.1
@Sumiri
Copy link

Sumiri commented Nov 26, 2019

Same problem here. =(

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

Successfully merging a pull request may close this issue.

5 participants