Created
June 17, 2020 10:11
-
-
Save tnmtechnologies/d74517b84e5dec1646832356b688f90c to your computer and use it in GitHub Desktop.
[Nsmf_PDUSession] POST /nsmf-pdusession/v1/sm-contexts/{smContextRef}/modify multipart/related serves a 400 multipart/related 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
POST /nsmf-pdusession/v1/sm-contexts/abd468/modify HTTP/1.1 | |
Accept: */* | |
Content-Length: 3488 | |
Content-Type: multipart/related; boundary=nxl04iCSWvFZ1GODtupfSayS836LJR | |
Host: 127.0.0.1:8080 | |
Connection: Keep-Alive | |
User-Agent: Apache-HttpClient/4.5.3 (Java/11.0.6) | |
Accept-Encoding: gzip,deflate | |
--nxl04iCSWvFZ1GODtupfSayS836LJR | |
Content-Type: application/json; charset=US-ASCII | |
Content-Transfer-Encoding: 8bit | |
{"pei":"imei-123456789ABCDEF","gpsi":"msisdn-029966000102","servingNfId":"3fa85f64-5717-4562-b3fc-2c963f66afa6","guami":{"plmnId":{"mcc":"123","mnc":"45"},"amfId":"a3b75a"},"servingNetwork":{"mcc":"123","mnc":"45"},"backupAmfInfo":[{"backupAmf":"amf0","guamiList":[{"plmnId":{"mcc":"123","mnc":"45"},"amfId":"a3b75a"}]}],"anType":"3GPP_ACCESS","ratType":"NR","presenceInLadn":"IN_AREA","ueLocation":{"eutraLocation":{"tai":{"plmnId":{"mcc":"123","mnc":"45"},"tac":"0123"},"ecgi":{"plmnId":{"mcc":"123","mnc":"45"},"eutraCellId":"0123456"},"ageOfLocationInformation":0,"ueLocationTimestamp":"2019-09-12T06:52:04.644Z","geographicalInformation":"0123456789ABCDEF","geodeticInformation":"01234567890123456789","globalNgenbId":{"plmnId":{"mcc":"123","mnc":"45"},"n3IwfId":null,"gNbId":{"bitLength":22,"gNBValue":"01234567"},"ngeNbId":null}},"nrLocation":{"tai":{"plmnId":{"mcc":"123","mnc":"45"},"tac":"0123"},"ncgi":{"plmnId":{"mcc":"123","mnc":"45"},"nrCellId":"012345678"},"ageOfLocationInformation":0,"ueLocationTimestamp":"2019-09-12T06:52:04.645Z","geographicalInformation":"0123456789ABCDEF","geodeticInformation":"01234567890123456789","globalGnbId":{"plmnId":{"mcc":"123","mnc":"45"},"n3IwfId":null,"gNbId":{"bitLength":22,"gNBValue":"01234567"},"ngeNbId":null}},"n3gaLocation":{"n3gppTai":{"plmnId":{"mcc":"123","mnc":"45"},"tac":"0123"},"n3IwfId":"0123456789ABCDEF","ueIpv4Addr":"198.51.100.1","ueIpv6Addr":"2001:db8:85a3::8a2e:370:7334","portNumber":0}},"ueTimeZone":"Europe/Paris","addUeLocation":{"eutraLocation":{"tai":{"plmnId":{"mcc":"123","mnc":"45"},"tac":"0123"},"ecgi":{"plmnId":{"mcc":"123","mnc":"45"},"eutraCellId":"0123456"},"ageOfLocationInformation":0,"ueLocationTimestamp":"2019-09-12T06:52:04.646Z","geographicalInformation":"0123456789ABCDEF","geodeticInformation":"01234567890123456789","globalNgenbId":{"plmnId":{"mcc":"123","mnc":"45"},"n3IwfId":"0123456789ABCDEF","gNbId":null,"ngeNbId":null}},"nrLocation":{"tai":{"plmnId":{"mcc":"123","mnc":"45"},"tac":"0123"},"ncgi":{"plmnId":{"mcc":"123","mnc":"45"},"nrCellId":"012345678"},"ageOfLocationInformation":0,"ueLocationTimestamp":"2019-09-12T06:52:04.646Z","geographicalInformation":"0123456789ABCDEF","geodeticInformation":"01234567890123456789","globalGnbId":{"plmnId":{"mcc":"123","mnc":"45"},"n3IwfId":null,"gNbId":{"bitLength":22,"gNBValue":"01234567"},"ngeNbId":null}},"n3gaLocation":{"n3gppTai":{"plmnId":{"mcc":"123","mnc":"45"},"tac":"0123"},"n3IwfId":"0123456789ABCDEF","ueIpv4Addr":"198.51.100.1","ueIpv6Addr":"2001:db8:85a3::8a2e:370:7334","portNumber":0}},"upCnxState":"ACTIVATED","hoState":"NONE","toBeSwitched":true,"failedToBeSwitched":true,"n1SmMsg":null,"n2SmInfo":{"contentId":"n2SmInfo"},"n2SmInfoType":"PDU_RES_SETUP_REQ","targetServingNfId":"3fa85f64-5717-4562-b3fc-2c963f66afa6","smContextStatusUri":"https://5gc.3gpp.org","dataForwarding":true,"epsBearerSetup":["0"],"revokeEbiList":[0],"release":true,"cause":"REL_DUE_TO_HO","ngApCause":{"group":0,"value":0},"sNssai":{"sst":0,"sd":"ABCDEF"},"traceData":{"traceRef":"01201-ABCDEF","traceDepth":"MINIMUM","neTypeList":"0123456789ABCDEF","eventList":"abcddef","collectionEntityIpv4Addr":"198.51.100.1","collectionEntityIpv6Addr":null,"interfaceList":"012ABC"},"epsInterworkingInd":"NONE","anTypeCanBeChanged":true,"5gMmCauseValue":0} | |
--nxl04iCSWvFZ1GODtupfSayS836LJR-- | |
HTTP/1.1 400 Bad Request | |
Connection: keep-alive | |
Content-Type: multipart/related;start="<c15267fc-3144-4831-a21a-9fad4788f981@resteasy-multipart>";type="application/json"; boundary=1f2abc64-86b0-41c8-b143-bd2e89fd0aba | |
Content-Length: 587 | |
Date: Wed, 17 Jun 2020 09:21:11 GMT | |
--1f2abc64-86b0-41c8-b143-bd2e89fd0aba | |
Content-ID: <c15267fc-3144-4831-a21a-9fad4788f981@resteasy-multipart> | |
Content-Type: application/json | |
{"error":{"type":"BadRequestRuntimeException","title":"Bad request","status":400,"detail":"Bad request: unable to retrieve part with Content-Type application/vnd.3gpp.ngap","instance":null,"cause":"unable to retrieve part with Content-Type application/vnd.3gpp.ngap","invalidParams":null},"n1SmMsg":null,"n2SmInfo":null,"n2SmInfoType":null,"upCnxState":null,"recoveryTime":"2020-06-17T09:20:58.761Z"} | |
--1f2abc64-86b0-41c8-b143-bd2e89fd0aba-- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
n2SmInfo attribute is set in json part but the related ngap part misses in request.