UCMDB Rest API that executes the query stored in CMDB with the given name does not work in v2020.05
I have an issue while invoking a REST API endpoint URL in UCMDB v2020.05. I get response code: 400 when invoking:
POST /topology (Executes the query stored in CMDB with the given name.)
Error code: Bad Request
"error": "An error has occurred. Please consult logs for more details"
In the rest-api.log, I see a null pointer exception.
2020-09-12 14:34:39,590 [qtp219099607-29] ERROR Failed to execute query [infra_to_infra_relationship_delta]
at sun.reflect.GeneratedMethodAccessor585.invoke(Unknown Source)
Can someone help me out ?
Thanks in advance,
The NPE error is already fixed for the next release. I suggest to open a support ticket to investigate if there other issues on the backend. Issue may happen if the tql result is chunked and a chunk contains only relationships.