Hi all,
I am developing a flow to send kaizala message to a group that I am an admin of. But in the flow when I try to connect to kaizala by signin, I do not get the OTP, but it goes to the second screen that waits until I enter the verification code. When I close the popup window (or it auto close after sometime) and retry, I even cannot pass the generate OTP step. The button is not working.
When I press the button on kaizala connector sign in through power automate, below error is generating in the console.
msgport.js:70 {"notify":"init_tab"}
VM49:1
Uncaught TypeError: Cannot read properties of undefined (reading 'toLowerCase')
at HTMLDocument.eval (eval at <anonymous> (eval at ExRmtSvrCd (eval at <anonymous> (translator.js:593:5))), <anonymous>:1:50487)
/OAuth/GeneratePin:1
Failed to load resource: the server responded with a status of 500 ()
scripts.js?v=fe2WJTythHGIZoueTQqqUWBpvquc-xDWKYWDpFp--JE1:1
TypeError: Cannot read properties of undefined (reading 'toString')
at login?v=Epfya5q5c2ZTgv5ucP6qG9fciy8Ix2q8bXsjGJ2FjdY1:1:452970
at ot (scripts.js?v=fe2WJTythHGIZoueTQqqUWBpvquc-xDWKYWDpFp--JE1:1:478875)
at scripts.js?v=fe2WJTythHGIZoueTQqqUWBpvquc-xDWKYWDpFp--JE1:1:479321
at p.$digest (scripts.js?v=fe2WJTythHGIZoueTQqqUWBpvquc-xDWKYWDpFp--JE1:1:485213)
at p.$apply (scripts.js?v=fe2WJTythHGIZoueTQqqUWBpvquc-xDWKYWDpFp--JE1:1:487236)
at at (scripts.js?v=fe2WJTythHGIZoueTQqqUWBpvquc-xDWKYWDpFp--JE1:1:461147)
at g (scripts.js?v=fe2WJTythHGIZoueTQqqUWBpvquc-xDWKYWDpFp--JE1:1:463764)
at d.onload (scripts.js?v=fe2WJTythHGIZoueTQqqUWBpvquc-xDWKYWDpFp--JE1:1:464203) 'Possibly unhandled rejection: {}'
(anonymous) @ scripts.js?v=fe2WJTythHGIZoueTQqqUWBpvquc-xDWKYWDpFp--JE1:1
scripts.js?v=fe2WJTythHGIZoueTQqqUWBpvquc-xDWKYWDpFp--JE1:1
Below errors repeat at each button press
POST https://manage.kaiza.la/OAuth/GeneratePin 500
(anonymous) @ scripts.js?v=fe2WJTythHGIZoueTQqqUWBpvquc-xDWKYWDpFp--JE1:1
st @ scripts.js?v=fe2WJTythHGIZoueTQqqUWBpvquc-xDWKYWDpFp--JE1:1
ut @ scripts.js?v=fe2WJTythHGIZoueTQqqUWBpvquc-xDWKYWDpFp--JE1:1
ot @ scripts.js?v=fe2WJTythHGIZoueTQqqUWBpvquc-xDWKYWDpFp--JE1:1
(anonymous) @ scripts.js?v=fe2WJTythHGIZoueTQqqUWBpvquc-xDWKYWDpFp--JE1:1
$digest @ scripts.js?v=fe2WJTythHGIZoueTQqqUWBpvquc-xDWKYWDpFp--JE1:1
$apply @ scripts.js?v=fe2WJTythHGIZoueTQqqUWBpvquc-xDWKYWDpFp--JE1:1
(anonymous) @ scripts.js?v=fe2WJTythHGIZoueTQqqUWBpvquc-xDWKYWDpFp--JE1:1
dispatch @ scripts.js?v=fe2WJTythHGIZoueTQqqUWBpvquc-xDWKYWDpFp--JE1:1
a.handle @ scripts.js?v=fe2WJTythHGIZoueTQqqUWBpvquc-xDWKYWDpFp--JE1:1
scripts.js?v=fe2WJTythHGIZoueTQqqUWBpvquc-xDWKYWDpFp--JE1:1
TypeError: Cannot read properties of undefined (reading 'toString')
at login?v=Epfya5q5c2ZTgv5ucP6qG9fciy8Ix2q8bXsjGJ2FjdY1:1:452970
at ot (scripts.js?v=fe2WJTythHGIZoueTQqqUWBpvquc-xDWKYWDpFp--JE1:1:478875)
at scripts.js?v=fe2WJTythHGIZoueTQqqUWBpvquc-xDWKYWDpFp--JE1:1:479321
at p.$digest (scripts.js?v=fe2WJTythHGIZoueTQqqUWBpvquc-xDWKYWDpFp--JE1:1:485213)
at p.$apply (scripts.js?v=fe2WJTythHGIZoueTQqqUWBpvquc-xDWKYWDpFp--JE1:1:487236)
at at (scripts.js?v=fe2WJTythHGIZoueTQqqUWBpvquc-xDWKYWDpFp--JE1:1:461147)
at g (scripts.js?v=fe2WJTythHGIZoueTQqqUWBpvquc-xDWKYWDpFp--JE1:1:463764)
at d.onload (scripts.js?v=fe2WJTythHGIZoueTQqqUWBpvquc-xDWKYWDpFp--JE1:1:464203) 'Possibly unhandled rejection: {}'
Previously I was able to get the code in power automate and connected it to one of my kaizala group and the flow was triggered in a PowerApp. But the other users of that PowerApp were unable to login to Kaizala and give access. So to test the issue; I have signed out of kaizala in the flow and retry to add the connector to the flow. I was also unable to get the OTP and decided to go for email notification.
Now we are not able to get the OTP to sign in to the kaizala mobile app also. I have tested it using few of our team's phones.