E1041 Details¶
Message emitted:¶
E1041: The offline NAPALM command output could not be parsed as JSON: {exc}.
Description:¶
While using offline command outputs through Git with the NAPALM dispatcher, the stored getter output file could not be deserialized as JSON. NAPALM getters return structured data, so their offline files must contain valid JSON.
Troubleshooting:¶
Open the offending command output file in the Git repository and confirm it contains valid JSON that matches the structure NAPALM returns for that getter.
Recommendation:¶
Regenerate the getter output by serializing the live NAPALM result to JSON (for example with json.dumps) and commit the corrected file to the Git repository.