Having an issue with REST API Explorer using PATCH method on CMDB Instance API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-18-2025 06:14 AM
Hi,
I am trying to test and use the CMDB Instance API, but I faced an issue with PATH Method.
In REST API Explorer,when I want to change the value of "ram" for any class and specific CI using the SYS ID, I receive the 500 Internal Error message. I tested with PDI and other instances and the issue persists.
it says the attributes is null, how can I address the issue in the REST API explorer?
{
"error": {
"message": "Exception while executing request: Cannot invoke \"java.util.Map.put(Object, Object)\" because \"attributes\" is null",
"detail": "Cannot invoke \"java.util.Map.put(Object, Object)\" because \"attributes\" is null Check logs for error trace or enable glide.rest.debug property to verify REST request processing"
},
"status": "failure"
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-19-2025 06:07 AM
Thank you, @palanikumar.
but how I can add attributes via REST API explorer? I noticed that the \"attributes\": is missed in the input but how can I add it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-19-2025 06:48 AM
I don't this this is supported in builder, Use Raw tab instead and pass the data like below:
Payload:
Palani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-19-2025 03:32 PM
Hello @Jay Jav ,
if my response resolved your issue then mark my response as accepted solution and close the thread
Palani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-19-2025 06:08 AM
Thank you, @palanikumar.
but how I can add attributes via REST API explorer? I noticed that the \"attributes\": is missed in the input but how I can add it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-22-2025 06:40 AM
I mentioned how to add it in previous post. Did you check?
You can't use Builder. Use the Raw section and send the details as JSON:
Palani
