07-05-2023 03:23 AM
Hi
Has anyone ever had this issue on ACI , on a number of moquery's I get the following from APIC command line, I've used this many times on other APIC's.
moquery -c faultInst
Error: not well-formed (invalid token): line 1, column 32998
moquery -c fvRsPathAtt
Error: not well-formed (invalid token): line 1, column 1378800
I get a similar error through the ACI cobra SDK, the APIC is on version 5.2(3g).
Warm Regards
Francois.
07-05-2023 04:20 AM - edited 07-05-2023 04:51 AM
This type of error is usually a result of Invalid Characters being assigned to objects. I imagine you're using the SDK to create/edit objects? The UI will enforce character validation, but there are other means to assign invalid characters to objects which can raise this issue. Typically look at things like interface description etc which are commonly configured with unsupported characters through non-UI methods.
Try the same class lookup using visore. You might find some clues if it returns objects - look for special characters such as quotes (") in any of the properties.
Robert
07-05-2023 04:47 AM
Hi Robert.
I've tried both a local account admin and the admin account, as a further investigation I've also tried the following with a local admin account:
https://10.x.y.z/api/node/class/fvStPathAtt.xml
XML Parsing Error: not well-formed
https://10.x.y.z/api/node/class/fvStPathAtt.json
SyntaxError: JSON.parse: expected ',' or '}' after property value in object at line 1 column 453821 of the JSON data
Both giving errors it also fails on faultInst which , is probably not configuration related.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide