@AbdulAhad This can be avoided by following below steps.
1. In the application in Dev Studio, go to Configure > System > Settings > URLs and set the Publicurl
2. In the Digital Messaging Manager, delete your connected accounts before deployment.
3. Edit your manager ID if needed, for example if you're starting on a new environment.
4. Create the channel if needed, or save on the current one.
5. Add your accounts in the Digital Messaging Manager.