6 HTTP Response Codes

The following are HTTP Response Codes:

Table 6-1 HTTP Response Codes

Service Service Operation HTTP Request Method HTTP Response Code Condition
Nnssf_NsSelection Initial Registration Get 400 (Bad Request)
  • All semantic, syntax errors leads to this response code.
  • This response code indicates that the request is not valid according to protocol such as invalid json and patch items.
401 (Unauthorized) Missing Authentication
405 (Method Not Allowed) Method not implemented for URI
500 (Internal Error)
  • Database operation error
  • Memory not available
403 (Forbidden)
  • Authentication failure
  • If Allowed SNSSAI is not matching
  • For a particular TAI if there is no SNSSAI in the allowed list
  • In case of PDU establishment
  • Requested SNSSAI is not allowed
200 (OK) Success Case
Nnssf_NsAvailability (UPDATE) PUT 200 (OK) Success Case
400 (Bad Request)
  • All semantic, syntax errors leads to this response code.
  • This response code indicates that the request is not valid according to protocol such as invalid json and patch items.
401 (Unauthorized) Missing authentication
403 (Forbidden) When all SNSSAIs for all TAIs are not allowed in PLMN
405 (Method Not Allowed) Method not implemented for URI
500 (Internal Error) Database operation error Memory not available
Nnssf_NsAvailability (UPDATE) PATCH 200 (OK) Success Case
400 (Bad Request)
  • All semantic, syntax errors leads to this response code.
  • This response code indicates that the request is not valid according to protocol such as invalid json and patch items.
401 (Unauthorized) Missing Authentication
403 (Forbidden) When all SNSSAIs for all TAIs are rejected in PLMN
405 (Method Not Allowed) Method not implemented for URI
404 (Not found ) AMF Availability data not found
500 (Internal Error)
  • Database operation error
  • Memory not available
Nnssf_NsAvailability (Subscribe) POST 201 (Created) Success Case
401 (Unauthorized) Missing Authentication
400 (Bad Request)
  • All semantic, syntax errors leads to this response code.
  • This response code indicates that the request is not valid according to protocol such as invalid json and patch items.
  • Expiry duration smaller than Min Expiry duation.
500 (Internal Error) 500 (Internal Error)
Nnssf_NsAvailability (Subscribe) DELETE 204 (No Content) Success Case
401 (Unauthorized) Missing Authentication
404 (Not found ) Subscription-ID not found
500 (Internal Error) Database operation error