Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GET a subscriber that does not exist returns an object #109

Open
patriciareinoso opened this issue Dec 13, 2023 · 1 comment
Open

GET a subscriber that does not exist returns an object #109

patriciareinoso opened this issue Dec 13, 2023 · 1 comment

Comments

@patriciareinoso
Copy link
Contributor

Describe the bug

If we try to GET a subscriber that does not exists, the result is some kind of empty subscriber object with ueId equal to the imsi we specified

To Reproduce

curl -vvv ${WEBUI_IP}:5000/api/subscriber/<subscriber>

where <subscriber> does not exist.

The output will be :

{"plmnID":"","ueId":<subscriber>,"AuthenticationSubscription":{"authenticationMethod":"","permanentKey":null,"sequenceNumber":""},"AccessAndMobilitySubscriptionData":{},"SessionManagementSubscriptionData":null,"SmfSelectionSubscriptionData":{},"AmPolicyData":{},"SmPolicyData":{"smPolicySnssaiData":null},"FlowRules":null}

Expected behavior

Subscriber not found. 404 error.

Screenshots

image

@onf-bot
Copy link
Contributor

onf-bot commented Mar 28, 2024

This issue has been stale for 30 days and will be closed in 5 days. Comment to keep it open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants