Hello!
after setting up the plugin as per your instructions I'm getting a blank page and from the browser console I see this error:
Twilsock D: send request: TWILSOCK V3.0 247 {"id":"XXXXXXXXXXXXXXXXXXX","method":"message","active_grant":"flex","payload_type":"application/json","http_request":{"host":"flex-sdk.twilio.com","path":"/v1/Telemetry/Events","method":"POST","headers":{}},"payload_size":1972} {"events":[{"payload_type":"flex-ui-sdk-error-v1","payload":{"event_name":"ui-error","event_source":"flex-ui","error":{"source":"app","wrapped_error_message":"Minified React error #31; visit https://reactjs.org/docs/error-decoder.html?invariant=31&args[]=object%20with%20keys%20%7Btarget%2C%20data%7D&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ","message":"An error has been detected inside DynamicComponent","description":"An error has been detected inside the MainContainer DynamicComponent","stack_trace":"Error: An error has been detected inside DynamicComponent\n at new n (https://assets.flex.twilio.com/releases/flex-ui/1.29.2/twilio-flex.unbundled-react.min.js:157:21641)\n at e.createAndProcessError (https://assets.flex.twilio.com/releases/flex-ui/1.29.2/twilio-flex.unbundled-react.min.js:157:24772)\n at e.handleCoreError [as errorProcessingOverride] (https://assets.flex.twilio.com/releases/flex-ui/1.29.2/twilio-flex.unbundled-react.min.js:157:23115)\n at e.processError (https://assets.flex.twilio.com/releases/flex-ui/1.29.2/twilio-flex.unbundled-react.min.js:157:114304)\n at e.createAndProcessError (https://assets.flex.twilio.com/releases/flex-ui/1.29.2/twilio-flex.unbundled-react.min.js:157:114505)\n at t.componentDidCatch (https://assets.flex.twilio.com/releases/flex-ui/1.29.2/twilio-flex.unbundled-react.min.js:157:123073)\n at t.Ff.d.componentDidCatch.c.callback (https://assets.flex.twilio.com/packages/react-dom/16.5.2/react-dom.min.js:106:207)\n at ef (https://assets.flex.twilio.com/packages/react-dom/16.5.2/react-dom.min.js:63:476)\n at df (https://assets.flex.twilio.com/packages/react-dom/16.5.2/react-dom.min.js:63:271)\n at qc (https://assets.flex.twilio.com/packages/react-dom/16.5.2/react-dom.min.js:136:226)","code":45600,"reporter":"flex-ui","debugger":true,"severity":"error"},"client_timestamp":"2022-01-21T14:34:18.141Z"}}]}
any idea what could be the issue?
Thanks!
Max
Hello!
after setting up the plugin as per your instructions I'm getting a blank page and from the browser console I see this error:
Twilsock D: send request: TWILSOCK V3.0 247 {"id":"XXXXXXXXXXXXXXXXXXX","method":"message","active_grant":"flex","payload_type":"application/json","http_request":{"host":"flex-sdk.twilio.com","path":"/v1/Telemetry/Events","method":"POST","headers":{}},"payload_size":1972} {"events":[{"payload_type":"flex-ui-sdk-error-v1","payload":{"event_name":"ui-error","event_source":"flex-ui","error":{"source":"app","wrapped_error_message":"Minified React error #31; visit https://reactjs.org/docs/error-decoder.html?invariant=31&args[]=object%20with%20keys%20%7Btarget%2C%20data%7D&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ","message":"An error has been detected inside DynamicComponent","description":"An error has been detected inside the MainContainer DynamicComponent","stack_trace":"Error: An error has been detected inside DynamicComponent\n at new n (https://assets.flex.twilio.com/releases/flex-ui/1.29.2/twilio-flex.unbundled-react.min.js:157:21641)\n at e.createAndProcessError (https://assets.flex.twilio.com/releases/flex-ui/1.29.2/twilio-flex.unbundled-react.min.js:157:24772)\n at e.handleCoreError [as errorProcessingOverride] (https://assets.flex.twilio.com/releases/flex-ui/1.29.2/twilio-flex.unbundled-react.min.js:157:23115)\n at e.processError (https://assets.flex.twilio.com/releases/flex-ui/1.29.2/twilio-flex.unbundled-react.min.js:157:114304)\n at e.createAndProcessError (https://assets.flex.twilio.com/releases/flex-ui/1.29.2/twilio-flex.unbundled-react.min.js:157:114505)\n at t.componentDidCatch (https://assets.flex.twilio.com/releases/flex-ui/1.29.2/twilio-flex.unbundled-react.min.js:157:123073)\n at t.Ff.d.componentDidCatch.c.callback (https://assets.flex.twilio.com/packages/react-dom/16.5.2/react-dom.min.js:106:207)\n at ef (https://assets.flex.twilio.com/packages/react-dom/16.5.2/react-dom.min.js:63:476)\n at df (https://assets.flex.twilio.com/packages/react-dom/16.5.2/react-dom.min.js:63:271)\n at qc (https://assets.flex.twilio.com/packages/react-dom/16.5.2/react-dom.min.js:136:226)","code":45600,"reporter":"flex-ui","debugger":true,"severity":"error"},"client_timestamp":"2022-01-21T14:34:18.141Z"}}]}any idea what could be the issue?
Thanks!
Max