Using the VitalPBX App which has been working with many clients just perfectly for a long time, suddenly today had an issue that when a client scanned the QRCODE it would just pop up with an error box saying ‘Note’ ‘User Not Found’
So tried with another user, same issue, tried another tenant, same issue.
Checked the ‘Connect’ plug in was there and showing all devices and settings just fine.
Then rebooted and still same issue.
Checked firewalls, domain names etc.. still not working.
Eventually in PBX>VitalPBX Connect>Settings - There is a BLUE BUTTON - “Sync Devices”.
I hit that and then the user could connect the app via qrcode BUT there was this error on the page which I am wondering if its a problem or not? ::
Exception: [422-post] /users: {“message”:“The username has already been taken.”,“errors”:{“username”:[“The username has already been taken.”]}} at file /usr/share/vitalpbx/www/includes/components/VPBXConnect/RestClient.php on line 0
Error Trace
File Function
1 /usr/share/vitalpbx/www/index.php:0 app\Core->run(…args);
2 /usr/share/vitalpbx/www/includes/app/Core.php:0 app\Core->_loadModule(…args);
3 /usr/share/vitalpbx/www/includes/app/Core.php:0 app\Core->loadModuleAction(…args);
4 /usr/share/vitalpbx/www/includes/app/Core.php:0 modules\mobile_settings\mobile_settings->syncDevices(…args);
5 /usr/share/vitalpbx/www/modules/mobile_settings/mobile_settings.php:0 modules\mobile_settings\mobile_settings->_syncDevices(…args);
6 /usr/share/vitalpbx/www/modules/mobile_settings/mobile_settings.php:0 array_map(…args);
7 — modules\mobile_settings\mobile_settings->modules\mobile_settings{closure}(…args);
8 /usr/share/vitalpbx/www/modules/mobile_settings/mobile_settings.php:0 modules\mobile_devices\MobileDevice->save(…args);
9 /usr/share/vitalpbx/www/modules/mobile_devices/MobileDevice.php:0 modules\mobile_devices\MobileDevice->_saveOnCloud(…args);
10 /usr/share/vitalpbx/www/modules/mobile_devices/MobileDevice.php:0 components\VPBXConnect\Models\User->save(…args);
11 /usr/share/vitalpbx/www/includes/components/VPBXConnect/Models/User.php:0 components\VPBXConnect\RestClient->Create(…args);
12 /usr/share/vitalpbx/www/includes/components/VPBXConnect/RestClient.php:0 components\VPBXConnect\RestClient->_sendRequest(…args);