System.UnexpectedException is a run time exception thrown by the system. This exception cannot be caught or thrown.
If you see any error codes in the error message, then you have to check with Salesforce Support. Else, the issue is on the 3rd party where the API is hosted.
So, in this case, we have to check the logs in end point where the call out is made.
Vote for the below idea