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

Retry Later breaks the task that is re-queued. #65

Open
Codewow opened this issue Dec 11, 2024 · 1 comment
Open

Retry Later breaks the task that is re-queued. #65

Codewow opened this issue Dec 11, 2024 · 1 comment

Comments

@Codewow
Copy link

Codewow commented Dec 11, 2024

Currently on Flex UI 2.10.0.
Using the plugin version 1.1.0

  1. Create the original task
  2. Accept the task on Flex.
  3. Click "Retry Later"
  4. Accept/Click the new task assigned to you.
  5. Get a blank flex page.
  6. Notice that the task never goes away and must be deleted from Task Router manually to remove it.

The task flex UI is returning is WR1aece6863f1ae984e675290a1fdf2b09
But the Task in TaskRouter is actually WTf398575f999eb65d40583aed410f3394

When refreshing the final blank page, this error gets returned.

Twilio Flex Error report


Error: "An error has been detected inside DynamicComponent"

LOG LINE

12/11/2024, 2:21:55 PM - DynamicComponent: An error has been detected inside the AgentDesktopView.Panel2 DynamicComponent

Original error:
"Cannot read properties of undefined (reading 'replace')"

STACK TRACE

Error: An error has been detected inside DynamicComponent
    at new n (https://assets.flex.twilio.com/releases/flex-ui/2.10.0/twilio-flex.unbundled-react.min.js:387:4579838)
    at e.createAndProcessError (https://assets.flex.twilio.com/releases/flex-ui/2.10.0/twilio-flex.unbundled-react.min.js:387:4582952)
    at e.handleCoreError [as errorProcessingOverride] (https://assets.flex.twilio.com/releases/flex-ui/2.10.0/twilio-flex.unbundled-react.min.js:387:4581353)
    at e.processError (https://assets.flex.twilio.com/releases/flex-ui/2.10.0/twilio-flex.unbundled-react.min.js:387:9273933)
    at e.createAndProcessError (https://assets.flex.twilio.com/releases/flex-ui/2.10.0/twilio-flex.unbundled-react.min.js:387:9274138)
    at t.componentDidCatch (https://assets.flex.twilio.com/releases/flex-ui/2.10.0/twilio-flex.unbundled-react.min.js:387:9256316)
    at Nh.f.componentDidCatch.c.callback (https://assets.flex.twilio.com/packages/react-dom/17.0.2/react-dom.min.js:142:309)
    at dh (https://assets.flex.twilio.com/packages/react-dom/17.0.2/react-dom.min.js:80:101)
    at Bj (https://assets.flex.twilio.com/packages/react-dom/17.0.2/react-dom.min.js:144:468)
    at Qj (https://assets.flex.twilio.com/packages/react-dom/17.0.2/react-dom.min.js:176:361)

DETAILS

{
    "message": "An error has been detected inside DynamicComponent",
    "wrappedError": "Cannot read properties of undefined (reading 'replace')",
    "description": "An error has been detected inside the AgentDesktopView.Panel2 DynamicComponent",
    "context": "DynamicComponent",
    "type": "app",
    "severity": "normal",
    "twilioErrorCode": 45600
}

image
task
task2
task3
task4

@Codewow
Copy link
Author

Codewow commented Dec 11, 2024

#64 is the issue for the function code being in the name of the callback task.

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

No branches or pull requests

1 participant