-
Bug
-
Resolution: Not Done
-
Medium
-
Kohn Release
-
None
-
None
Not able to store yang data that contains data of type instance-identifier (https://www.rfc-editor.org/rfc/rfc6020.html#page-133) using Node API.
Error message:
{"status":"500 INTERNAL_SERVER_ERROR","message":"Failed to lookup prefix ","details":"Check logs for details."}Attached the Error log.
API Used:
$ curl -k -H "Content-Type: application/json" -H "Authorization: Basic Y3BzdXNlcjpjcHNyMGNrcyE=" --request POST http://localhost:8883/cps/api/v1/dataspaces?dataspace-name='E2EDEMO'
$ curl -H "Authorization: Basic Y3BzdXNlcjpjcHNyMGNrcyE=" --request POST 'http://localhost:8883/cps/api/v1/dataspaces/E2EDEMO/schema-sets' --form 'file=@"ran-network1.zip"' --form 'schema-set-name="ran-network"'
$ curl -H "Authorization: Basic Y3BzdXNlcjpjcHNyMGNrcyE=" --request POST 'http://localhost:8883/cps/api/v1/dataspaces/E2EDEMO/anchors?schema-set-name='ran-network'&anchor-name='11''
$ curl -H "Authorization: Basic Y3BzdXNlcjpjcHNyMGNrcyE=" --request POST 'http://localhost:8883/cps/api/v1/dataspaces/E2EDEMO/anchors/11/nodes' --header 'Content-Type: application/json' -d @ran-network-initial-data.json -i
HTTP/1.1 500 Server Error
Date: Tue, 09 Aug 2022 10:26:49 GMT
Set-Cookie: JSESSIONID=node0hhah9t0mh65fxr9xpigcwcqt11.node0; Path=/
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Content-Type: application/json
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
X-Frame-Options: DENY
Transfer-Encoding: chunked