Getting an "MDS_SERVICE_UNAVAILABLE" error

Occasionally when I hit the /markets/ endpoint, I get an MDS_SERVICE_UNAVAILABLE error. If I try the URI again moments later, it’s fine.

What’s the best way to handle this error?