Question:

The initial request to the Sumo Logic APIs returns the following error message:

{ 
"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. Endpoints in us1 begin api.sumologic.com... but endpoints in other deployments—us2, eu, au—begin api.YOUR_DEPLOYMENT.sumologic.com.