API key and Application deployment fails on proxy gateway's.
API Portal 5.2.x
Take Snapshot of Portal VM before doing changes to the application.
docker exec -it <container id of the rabbitmq container> sh
2. Run this command to check the MQTT subcriptions for tenantid.
$ rabbitmqctl list_queues name messages consumers | grep "proxy_uuid"
3. Delete all MQTT subcriptions which DO NOT have a consumer.
$ rabbitmqctl delete_queue <mqtt-subscription-name> -if-unused
4. Connect to Policy Manager on Tenant Gateway Master Node and toggle "portal.deployer.enabled" cluster-wide-property from "true" to "false" and back to "true".