I've invited some guests into my domain. They are added successfully, but when they confirm the invitation, the user gets a 503 gateway error from invitations.microsoft.com
I have seen similar intermittent failures couple of times already. Simple refresh - either immediately or after couple of seconds/minutes should resolve the issue.
If the issue persist for longer then couple minutes you should open a support ticket.