Hello,
I am working on a project that involves calling Free5G’s SBI APIs. More specifically, I am dealing with the Nnrf_NFManagement interface.
When creating HTTP requests I follow Free5GC’s own specifications (https://github.com/free5gc/Nnrf_NFManagement/blob/a680e6aa89ea3b8b7e266b892b05710fddf37581/api/openapi.yaml#L1769-L1771).
The specification requires at least two parameters, nfStatusNotificationUri and subscriptionId - both of type string. Although these parameters are present in the request body, a 400 bad request is still returned.
request: POST /nnrf-nfm/v1/subscriptions
{
"subscriptionId": "29194d67-23e0-3200-c226-48c24c97dfdc",
"nfStatusNotificationUri": "somestring"
}
response:
{
"status": 400,
"cause": "CREATE_SUBSCRIPTION_ERROR"
}
I wonder what parameters are missing / what’s wrong with the request.
Thanks for your help and greetings,
Chris