You have exceeded the licensed number of devices that can be created

Hello Everyone,

I am building my own Segura lab, I have faced an issue while adding new devices, I was getting the error: Error to connect to NATS server. and whenever I add a new device it gives me objection on the name that it is in use, while there was no added devices. so I did upgrade to the version 4.2.2-1. after the upgrade I was able to add two devices so totally I have two devices only. and now I can’t add any more devices as it shows you have exceeded the licensed number of devices, while I didn’t exceed.
I rebooted the mysql service, but no luck. any support?

Any suggestions team, I tried setting up API authentication, and it didn’t work, I created application on A2A and setup authentication, I used the API client ID and secret on Postman, and I am getting error 502