Authentication tab not loading on VCO New UI due to error "Failed To Load Data"
search cancel

Authentication tab not loading on VCO New UI due to error "Failed To Load Data"

book

Article ID: 369927

calendar_today

Updated On:

Products

VMware Edge Cloud Orchestrator

Issue/Introduction

 When we try to open Administration ---> User Management ---> Authentication  tab, we see error  "Failed To Load Data". It happens only at Operator level. On browser console, there were errors like "SyntaxError: Unexpected token & in JSON at position 1".

 

Environment

VMware SDWAN Orchestrator

VCO version :- 5.2.3

Cause

Below was seen in portal logs. It indicates that there was an exception while parsing a JSON data from system property "vco.operator.authentication.sso.config" since this system property value had some unexpected characters.

 

2024-05-09T09:20:18.457Z - error: [jsonrpc domain.171520497.135] [6359] SyntaxError: Unexpected token & in JSON at position 1
    at JSON.parse (<anonymous>)
    at convertSystemProperties (/usr/share/node/portal/public/systemProperty/getAuthenticationConfiguration.js:94:48)
    at processSystemProperty (/usr/share/node/node_modules/velocloud/lib/systemProperty/getSystemProperty.js:35:20)
    at /usr/share/node/node_modules/velocloud/lib/common/getEntity.js:85:24
    at queryCallback (/usr/share/node/node_modules/velocloud/utils/dbutils/dbutils.js:377:16)
    at Query.arg22 (/usr/share/node/node_modules/velocloud/connectionpool/connectionpool.js:359:29)
    at bound (domain.js:427:14)
    at Query.runBound [as _callback] (domain.js:440:12)
    at Query.Sequence.end (/usr/share/node/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/usr/share/node/node_modules/mysql/lib/protocol/sequences/Query.js:149:8)
    at Query.EofPacket (/usr/share/node/node_modules/mysql/lib/protocol/sequences/Query.js:133:8)
    at Protocol._parsePacket (/usr/share/node/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/usr/share/node/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/usr/share/node/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/usr/share/node/node_modules/mysql/lib/protocol/Protocol.js:38:16)
    at Socket.<anonymous> (/usr/share/node/node_modules/mysql/lib/Connection.js:88:28)

Resolution

Update the VCO system property "vco.operator.authentication.sso.config" with correct value using an Operator Superuser.