Difference between revisions of "ApiKey"

From wikieduonline
Jump to navigation Jump to search
 
(8 intermediate revisions by the same user not shown)
Line 7: Line 7:
  
 
== Errors ==
 
== Errors ==
  opsgenie-lamp listAlerts -apiKey=ATATT3xxxxxpjzmo  
+
  opsgenie-lamp listAlerts [[-apiKey]]=ATATT3xxxxxpjzmo  
 
  ERRO[204-10-11T18:30:08.066948+02:00] Error occurred with Status code: 422, Message: [[Key format is not valid!]], Took: 0.001000, RequestId:  
 
  ERRO[204-10-11T18:30:08.066948+02:00] Error occurred with Status code: 422, Message: [[Key format is not valid!]], Took: 0.001000, RequestId:  
 
  a512267c-11111-4d6b-b913-b611111a495e
 
  a512267c-11111-4d6b-b913-b611111a495e
  Error occurred with Status code: 422, Message: Key format is not valid!, Took: 0.001000, RequestId: a511167c-1693-4111b-b913-111111e
+
  Error occurred with Status code: 422, Message: [[Key format is not valid!]], Took: 0.001000, RequestId: a511167c-1693-4111b-b913-111111e
 
 
  
 
  [[opsgenie-lamp listAlerts --config ~/.config/lamp.conf]]
 
  [[opsgenie-lamp listAlerts --config ~/.config/lamp.conf]]
Line 18: Line 17:
 
  7311bc6-111121-498d-b420-ce111111bc
 
  7311bc6-111121-498d-b420-ce111111bc
 
  Error occurred with Status code: 422, Message: Key format is not valid!, Took: 0.000000, RequestId: 73111c6-1321-411d-b110-ce1111bc
 
  Error occurred with Status code: 422, Message: Key format is not valid!, Took: 0.000000, RequestId: 73111c6-1321-411d-b110-ce1111bc
 +
 +
opsgenie-lamp listAlerts --apiKey="b1111243a-15111-436f-ac1e-b311111a"
 +
INFO[202-10-11T18:51:36.995245+02:00] Client is configured with ApiUrl: [[api.opsgenie.com]], RetryMaxCount: 4
 +
ERRO[202-10-11T18:51:37.310027+02:00] [[Error occurred with Status code: 401, Message: Could not authenticate]], Took: 0.001000, RequestId:
 +
61111e-7214-4cc7-bdc4-b311111f4
 +
 +
[[Can not create the alert client. API key cannot be blank.]]
  
 
== Related ==
 
== Related ==
 
* [[Maintenance mode]]
 
* [[Maintenance mode]]
 
* [[Opsgenie API key management]]
 
* [[Opsgenie API key management]]
 +
* <code>[[apiUrl]]</code>
  
 
== See also ==
 
== See also ==
Line 27: Line 34:
 
* {{lamp}}
 
* {{lamp}}
  
[[Category:Opsgenie]]
+
[[Category:OpsGenie]]

Latest revision as of 17:00, 23 October 2024



Errors[edit]

opsgenie-lamp listAlerts -apiKey=ATATT3xxxxxpjzmo 
ERRO[204-10-11T18:30:08.066948+02:00] Error occurred with Status code: 422, Message: Key format is not valid!, Took: 0.001000, RequestId: 
a512267c-11111-4d6b-b913-b611111a495e
Error occurred with Status code: 422, Message: Key format is not valid!, Took: 0.001000, RequestId: a511167c-1693-4111b-b913-111111e
opsgenie-lamp listAlerts --config ~/.config/lamp.conf
INFO[202-10-11T18:35:30.033491+02:00] Client is configured with ApiUrl: api.opsgenie.com, RetryMaxCount: 4
ERRO[202-10-11T18:35:30.344369+02:00] Error occurred with Status code: 422, Message: Key format is not valid!, Took: 0.000000, RequestId: 
7311bc6-111121-498d-b420-ce111111bc
Error occurred with Status code: 422, Message: Key format is not valid!, Took: 0.000000, RequestId: 73111c6-1321-411d-b110-ce1111bc
opsgenie-lamp listAlerts --apiKey="b1111243a-15111-436f-ac1e-b311111a"
INFO[202-10-11T18:51:36.995245+02:00] Client is configured with ApiUrl: api.opsgenie.com, RetryMaxCount: 4
ERRO[202-10-11T18:51:37.310027+02:00] Error occurred with Status code: 401, Message: Could not authenticate, Took: 0.001000, RequestId: 
61111e-7214-4cc7-bdc4-b311111f4
Can not create the alert client. API key cannot be blank.

Related[edit]

See also[edit]

Advertising: