Problem
The Get Events step in the Flow Designer seems to not work every time, and will occasionally display the following error message:
Caught an error in step "Get Events"
Script failed with message: JavaObject[org.springframework.web.client.ResourceAccessException: I/O error on GET request for "https://example.xmatters.com/api/xm/1/events": Read timed out; nested exception is java.net.SocketTimeoutException: Read timed out (org.springframework.web.client.ResourceAccessException)]
Environment
All versions of xMatters
Resolution
This happens because the query is timing out. The query performance depends on whether it's using a wildcard or exact match.
If the property value you are returning is a unique value, you should set the 'Exact Property Value Match' to 'TRUE'. (The default property value for the Get Events step 'Exact Property Value Match' is 'FALSE'.)
For a detailed guide on setting up the Get Events step, see Set up a Get Events step.
Comments
0 commentsArticle is closed for comments.