Question:

The initial request to the Sumo Logic APIs returns the following error message. Why is this message received?

{
   "status": 301,
   "id": "IBCA5-NRG74-ROEI9",
   "code": "moved",
   "message": "The requested resource SHOULD be accessed through returned URI in Location Header."
}

Answer:

The likely answer is that the API endpoint in the request did not include the correct deployment. The endpoints in us1 begin api.sumologic.com... but the endpoints in other deployments—us2, eu, au—begin api.YOUR_DEPLOYMENT.sumologic.com.