Difference between revisions of "Can not create the alert client. API key cannot be blank."

From wikieduonline
Jump to navigation Jump to search
Line 4: Line 4:
 
  [[opsgenie-lamp listAlerts]] [[--config]] /opt/conf/myConfigurationFile.conf
 
  [[opsgenie-lamp listAlerts]] [[--config]] /opt/conf/myConfigurationFile.conf
 
  [[opsgenie-lamp listAlerts --config ~/.config/lamp.conf]]
 
  [[opsgenie-lamp listAlerts --config ~/.config/lamp.conf]]
 +
 +
 +
== Errors ==
 +
INFO[2024-10-12T13:43:46.643503+02:00] Client is configured with ApiUrl: [[api.opsgenie.com]], RetryMaxCount: 4
 +
ERRO[2024-10-12T13:43:47.028936+02:00] Error occurred with Status code: 401, [[Message: Could not authenticate]], Took: 0.006000, RequestId: 14999ae4-67a6-42c6-b6e2-xxxxx
 +
Error occurred with Status code: 401, Message: Could not authenticate, Took: 0.006000, RequestId: xxxxxxx-67a6-42c6-b6e2-xxxxxx
  
  

Revision as of 11:45, 12 October 2024


opsgenie-lamp createAlert --message "host down" --config /opt/conf/myConfigurationFile.conf
opsgenie-lamp listAlerts --config /opt/conf/myConfigurationFile.conf
opsgenie-lamp listAlerts --config ~/.config/lamp.conf


Errors

INFO[2024-10-12T13:43:46.643503+02:00] Client is configured with ApiUrl: api.opsgenie.com, RetryMaxCount: 4
ERRO[2024-10-12T13:43:47.028936+02:00] Error occurred with Status code: 401, Message: Could not authenticate, Took: 0.006000, RequestId: 14999ae4-67a6-42c6-b6e2-xxxxx
Error occurred with Status code: 401, Message: Could not authenticate, Took: 0.006000, RequestId: xxxxxxx-67a6-42c6-b6e2-xxxxxx


Related

See also

Advertising: