Rest get method throwing following error Method failed: (/api/atlas/v2/clusters) with code: 500

Kishor O
Tera Sage

I am getting following error while testing rest api . what might be the reason how can I resolve it.

KishorO_0-1698381560542.png

 

3 REPLIES 3

Harsh_Deep
Giga Sage
Giga Sage

Hello @Kishor O ,

 

If you are getting 500 response it means the server which you are trying to hit that is down. If you are hitting API using MID Server then maybe your MID server is down or maybe your API is not giving response.

 

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.

@Harsh_Deep Hope there is no problem with authorization. I am using an API key for authentication

KishorO_1-1698382438457.png

 

 

Hello @Kishor O ,

 

Use space between bearer and token.

Still If you are getting 500 response it means the server which you are trying to hit that is down. If you are hitting API using MID Server then maybe your MID server is down or maybe your API is not giving response.

 

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.