Apologies, but could you provide us with more information. When you see the 500 error there is usually a hash that allows us to see exactly what the error is. Would you be able to send it to us? If not you could just send us a screenshot.
Does this happen on all of your repositories or just one?