[Bug] NetBox MCP tools fail JSON parsing despite valid API response #129
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Diagnostic Report
Generated: 2026-01-23
Plugin: cmdb-assistant (NetBox MCP)
Problem
All NetBox MCP tools fail with JSON parsing errors despite valid API responses.
Error:
Invalid JSON response from NetBox: Expecting value: line 8 column 1 (char 7). Status code: 200Test Results
dcim_list_devices- FAIL (JSON parse error)dcim_list_sites- FAIL (JSON parse error)Hypothesis
MCP server HTTP client may be:
Additional Issue
Service API requires
parent_object_type+parent_object_idinstead ofdevicefield.Workaround
Use direct curl calls instead of MCP tools.
Closing as duplicate of #126. See PR #132 for the fix.