Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Rest api response not coming .It keeps on saying Please enable your browser cookies to use OpsGenie

Anupama .
Contributor
September 23, 2022

Hi,

I am not able to fetch response for any of the rest apis of opsgenie. Though the response code is 200 but its keep on saying "Please enable your browser cookies to use OpsGenie." while requesting from postman/insomania. Please help me on this. Thanks,Anu

Few api for reference: Alert API (opsgenie.com)

Response:

opsgenie api issue.PNG

1 answer

1 accepted

0 votes
Answer accepted
Robert
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 26, 2022

Hey @Anupama . !

 

Could you share the API domain you are sending the request to? Our API should not be returning a HTML content-type if you are using https://api.opsgenie.com.

Anupama .
Contributor
September 27, 2022

Hi @Robert ,

 

I am able to the get the api response now using this https://api.opsgenie.com

Earlier I was using different dns from ui and seems that was the mistake.

opsgenie api response.PNG

Thanks,

Anu

Robert
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 27, 2022

@Anupama . Great to hear that did the trick! Thanks for letting us know. 

Like Anupama . likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events