No More Deployment robot available error. Please update your license

Hello,
So I was playing around with licenses in UiPath Orchestrator. And I don’t know what I did wrong or I messed up any settings now I am getting an error that says “No more Deployment robot available. Please update your license”.
I tried to toggle with licenses from the cloud and got a temporary solution where I can run my task flow when it isn’t connected to the cloud. But as soon as I sign in to the cloud through studio it shows robot error.