SERVER_ERROR in Apple Ads API

I recently start getting SERVER_ERROR in apples ads api.

Endpoint: https://api.searchads.apple.com/api/v4

Below is the reponse I get

[{"messageCode"=>"SERVER_ERROR", "message"=>"The server encountered an internal error or misconfiguration and was unable to complete request: 44198a85-4731-4a31-b14b-3e22da558dad", "field"=>""}]

This happens sporadically.