Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tnmtechnologies/abd0fc4fcc6d33cc6edb13bdf1260761 to your computer and use it in GitHub Desktop.
Save tnmtechnologies/abd0fc4fcc6d33cc6edb13bdf1260761 to your computer and use it in GitHub Desktop.
[Nnrf_NFManagement] PATCH request serves a 400 response because replace operation applies on an unknown attribute (R15.2.0)
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: 98
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": "replace",
"path": "/unknown",
"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: 187
Access-Control-Allow-Methods: GET, PUT, POST, PATCH, DELETE, OPTIONS
Date: Wed, 13 May 2020 14:28:00 GMT
{
"type":"BadRequestRuntimeException",
"title":"Bad request",
"status":400,
"detail":"Bad request: Unable to apply PATCH",
"instance":null,
"cause":"Unable to apply PATCH",
"invalidParams":null
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment