Last active
May 14, 2020 09:32
-
-
Save tnmtechnologies/aa0f8c1acba58ce81fc120f7a2be3293 to your computer and use it in GitHub Desktop.
[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.
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
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": "http://127.0.0.1:8181/namf-mt/v1/nnrf-nfm/notification", | |
"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 | |
{ | |
"type":"InstanceAlreadyExistsRuntimeException", | |
"title":"conflict", | |
"status":409, | |
"detail":"instance with subscriptionId value 123456-subs987655 of type com.bcom.newedge._3gpp._5gc.nf.commons.models.SubscriptionData already exists", | |
"instance":"123456-subs987655", | |
"cause":"The instance already exists", | |
"invalidParams":[ | |
{ | |
"param":"subscriptionId=123456-subs987655", | |
"reason":"already created" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment