[Nnrf_NFManagement] PATCH request with unknown operation serves a 400 response (R15.2.0)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PATCH /nnrf-nfm/v1/nf-instances/80fd9293-7bc9-4fdf-8888-4a72e9f751d4 HTTP/1.1 | |
Host: vdev-newedge0001.b-com.local:8180 | |
Connection: keep-alive | |
Content-Length: 99 | |
accept: application/json | |
DNT: 1 | |
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36 | |
Content-Type: application/json-patch+json | |
Origin: http://vdev-newedge0001.b-com.local:8180 | |
Referer: http://vdev-newedge0001.b-com.local:8180/ | |
Accept-Encoding: gzip, deflate | |
Accept-Language: en-US,en;q=0.9 | |
[ | |
{ | |
"op": "unknown", | |
"path": "/nfStatus", | |
"from": null, | |
"value": "SUSPENDED" | |
} | |
] | |
HTTP/1.1 400 Bad Request | |
Connection: keep-alive | |
Access-Control-Allow-Origin: * | |
Access-Control-Allow-Headers: Content-Type, Authorization, Accept, Accept-Language | |
Content-Type: application/problem+json | |
Content-Length: 657 | |
Access-Control-Allow-Methods: GET, PUT, POST, PATCH, DELETE, OPTIONS | |
Date: Wed, 13 May 2020 14:20:51 GMT | |
{ | |
"type":"InvalidDefinitionException", | |
"title":"Cannot construct instance of `com.bcom.newedge._3gpp._5gc.nf.commons.models.PatchOperation`, problem: Unexpected value 'unknown'", | |
"status":400, | |
"detail":"Cannot construct instance of `com.bcom.newedge._3gpp._5gc.nf.commons.models.PatchOperation`, problem: Unexpected value 'unknown'", | |
"instance":null, | |
"cause":"Cannot construct instance of `com.bcom.newedge._3gpp._5gc.nf.commons.models.PatchOperation`, problem: Unexpected value 'unknown'", | |
"invalidParams":[ | |
{ | |
"param":"op", | |
"reason":"Cannot construct instance of `com.bcom.newedge._3gpp._5gc.nf.commons.models.PatchOperation`, problem: Unexpected value 'unknown'" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment