Announcements
This site is in read only until July 22 as we migrate to a new platform; refer to this community post for more details.
Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

API Monitoring - Alerts API Throwing Script Error

Hey All,

Experimenting with the Monitoring APIs and getting below error for multiple scenarios. I'm able to setup alerts via the UI, but when I run API to either GET existing or POST to create new, I get below error.

{   
  "faultstring": "Evaluation of script decodeJWT.py (py) failed with reason: \"AttributeError: 'NoneType' object has no attribute 'split'\"",   
  "detail": { "errorcode": "steps.script.ScriptEvaluationFailed" }
}

SmartDocs also gives the same error. https://apidocs.apigee.com/api-monitoring/apis/get/alerts

Am I doing something wrong?

0 12 844
12 REPLIES 12