[Nnrf_NFManagement] GET /nnrf-nfm/v1/nf-instances/{nfInstanceID} request with an invalid nfInstanceID value 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
GET /nnrf-nfm/v1/nf-instances/invalid-uuid HTTP/1.1 | |
Host: vdev-newedge0001.b-com.local:8180 | |
Connection: keep-alive | |
accept: application/json | |
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 | |
DNT: 1 | |
Referer: http://vdev-newedge0001.b-com.local:8180/ | |
Accept-Encoding: gzip, deflate | |
Accept-Language: en-US,en;q=0.9 | |
HTTP/1.1 404 Not Found | |
Connection: keep-alive | |
Access-Control-Allow-Origin: * | |
Access-Control-Allow-Headers: Content-Type, Authorization, Accept, Accept-Language | |
Content-Type: application/problem+json | |
Content-Length: 713 | |
Access-Control-Allow-Methods: GET, PUT, POST, PATCH, DELETE, OPTIONS | |
Date: Wed, 13 May 2020 13:13:03 GMT | |
{ | |
"type":"NotFoundException", | |
"title":"unable to extract parameter from http request", | |
"status":400, | |
"detail":"RESTEASY003870: Unable to extract parameter from http request: javax.ws.rs.PathParam(\"nfInstanceID\") value is 'invalid-uuid' for public javax.ws.rs.core.Response com.bcom.newedge._3gpp._5gc.nf.nrf.nfmanagement.server.api.NfInstancesApi.getNFInstance(java.util.UUID,javax.ws.rs.core.SecurityContext) throws com.bcom.newedge._3gpp._5gc.nf.nrf.nfmanagement.server.api.NotFoundException", | |
"instance":null, | |
"cause":"java.lang.IllegalArgumentException: Invalid UUID string: invalid-uuid", | |
"invalidParams":[ | |
{ | |
"param":"nfInstanceID", | |
"reason":"java.lang.IllegalArgumentException: Invalid UUID string: invalid-uuid" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment