You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERRO[2024-08-28T16:08:21.337077196+03:00] Response could not be parsed, invalid character '<' looking for beginning of value
main_test.go:59: Failed to fetch OpsGenie Alerts: Response could not be parsed, invalid character '<' looking for beginning of value
The documentation does not list which of the fields of ListAlertRequest are mandatory, and there is no example code on how to use the List() function properly.
The text was updated successfully, but these errors were encountered:
It seems that I was confused by the variable OpsGenieAPIURL in the Golang docs, and I've assumed that since I'm not using "the global" OpsGenie instance and I'm using a customer specific tenant, I should be using the tenant specific domain.
After some testing I found that I should be using always api.opsgenie.com or api.eu.opsgenie.com if I'm using the EU instance.
Both work in my case, so I'm unclear on the difference between the EU and non EU instance.
I'd propose that this should be clarified in the golang SDK documentation on de description of the OpsGenieAPIURL variable.
Receiving error:
when trying doing:
The documentation does not list which of the fields of
ListAlertRequest
are mandatory, and there is no example code on how to use theList()
function properly.The text was updated successfully, but these errors were encountered: