Logz io endpoint not working properly

Oskari Järvinen November 9, 2021

Hello!

I'm currently trying to integrate logz io and opsgenie to work together. Followed your instructions  here https://support.atlassian.com/opsgenie/docs/integrate-opsgenie-with-logzio/ . When testing if the endpoint works I get this error : Message from Opsgenie endpoint: Endpoint testing failed due to 'status code: 401, reason phrase: {"message":"Could not authenticate","took":0.001,"requestId":"5xxxx-cxxxx-4xxx-9xxx-be0c3fc5f7d8"}' (error-code 401). What could be causing this issue?

 

1 answer

1 accepted

2 votes
Answer accepted
Samir
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 11, 2021

Hi @Oskari Järvinen ,

 

This is an authentication error. Could you share if your Opsgenie account is in EU domain? When you login to Opsgenie, is the url https://app.opsgenie.com or https://app.eu.opsgenie.com ?

 

If it is EU, you will need to change to  create a custom notification endpoint in Logz.io with endpoint = https://api.eu.opsgenie.com/v1/json/logzio?apiKey=your-integration-key

 

your-integration-key is the apiKey from your logz.io integration in Opsgenie

e.g.

2021-11-11_13-45-06.png

 

Thanks,

Samir

Oskari Järvinen November 12, 2021

Thanks for help! This was the issue.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events