-
Notifications
You must be signed in to change notification settings - Fork 5
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
Incorrect error response status code for M1_ContentHostingProvisioning_purgeContentHostingCache operation #52
Comments
I have created a Pull Request 5G-MAG/rt-common-shared#16 to add |
I have also raised 5G-MAG/Standards#40 to add this error response code (as well as a few others) to the |
The
|
Description
If the purge regex pattern is invalid, the Application Server raises an exception and produces a local error log. However, the Application Server returns a response with status code 200 (OK) to the invoking client.
I think the response should have status code 422 (Unprocessable Entity) indicating that there is something wrong with the request message body.
Additional context
This bug arises from 5G-MAG/rt-5gms-application-function#18.
The text was updated successfully, but these errors were encountered: