
Hi @Giovanni1
This is not the expected behaviour. A 500 error suggests to me that there is something wrong with the on premise gateway platform.
I'd recommend that you raise a support ticket by clicking the 'Create support ticket' button on the following page.
https://powerapps.microsoft.com/en-us/support/
Alternatively, you could wait a while and perhaps it might work the next time you try.