Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
[Nnrf_NFManagement] POST /subscriptions request with a subscriptionId already created serves a 409 response (R15.2.0). The specification doesn't allow the 409 response but we think it is the one that should be set.
POST /nnrf-nfm/v1/subscriptions HTTP/1.1
Host: vdev-newedge0001.b-com.local:8180
Connection: keep-alive
Content-Length: 130
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
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
"nfStatusNotificationUri": "",
"subscriptionId": "123456-subs987655"
HTTP/1.1 409 Conflict
Connection: keep-alive
Access-Control-Allow-Origin: *
Access-Control-Allow-Headers: Content-Type, Authorization, Accept, Accept-Language
Content-Type: application/problem+json
Content-Length: 389
Access-Control-Allow-Methods: GET, PUT, POST, PATCH, DELETE, OPTIONS
Date: Thu, 14 May 2020 09:26:34 GMT
"detail":"instance with subscriptionId value 123456-subs987655 of type already exists",
"cause":"The instance already exists",
"reason":"already created"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment