Skip to main content

OmniNEF Troubleshooting

Overview | Operations Guide | Configuration Reference | Metrics and Monitoring

Table of Contents​

Common Issues​

Every AF request returns 401​

The AF's API key is not in the registry. The registry is empty by default, so a fresh deployment rejects everything until an AF is provisioned. Add the AF to af_registry (or NEF_AF_REGISTRY) and confirm the client sends Authorization: Bearer <key> or X-Api-Key: <key>. See the Configuration Reference.

An AF gets 403 on some APIs​

The AF is known but its allowed_apis does not include the API it is calling. Set allowed_apis to :all, or add the relevant API atom to the list.

An AF gets 429 under load​

The AF is exceeding its per-second request ceiling. Raise its rate_limit_per_sec (or default_rate_limit_per_sec), or throttle the client. The window is a sliding one second.

Requests fail with 503 NF_UNAVAILABLE​

NRF discovery returned no UDM/PCF/UDR instance offering the required service. Confirm the target NF is registered with the NRF and healthy, and that nrf_uri is correct.

Requests fail with 502 TARGET_NF_NOT_REACHABLE​

The producer NF was discovered but the SBI call to it failed. Check connectivity to the producer NF and its logs; the NEF logs the underlying error.

An AF creates a monitoring-event subscription but never receives notifications​

Event notifications now follow the data path end to end: on create, the NEF registers a per-subscription callback with the UDM (.../nnef-eventexposure/v1/notifications/{subId}); when the producer NF POSTs an event report to that callback, the NEF maps it to a T8 MonitoringNotification and relays it to the AF's notificationDestination. If the AF sees nothing, check, in order:

  • The subscription carried a reachable notificationDestination (the NEF logs subscription <id> has no notificationDestination when it is absent).
  • The producer NF is actually emitting reports and can reach the NEF's callback URL (the NEF's advertised sbi_base_url must be routable from the UDM/AMF).
  • The relay POST succeeds. The NEF logs a failed delivery as relay to AF <url> ... failed. Relay is best-effort: the NEF always answers the producer callback with 204 so the producer does not treat a transiently-down AF as a permanent callback failure. Notifications for an unknown/expired subscription are logged and dropped (also 204).

Requests fail with 400​

The request body is missing a mandatory field for that capability: a UE identifier (externalId/msisdn), a qosReference for an AF QoS session, a routing target for traffic influence, or an unsupported monitoringType. The detail field of the ProblemDetails names the specific validation failure.