-
-
Notifications
You must be signed in to change notification settings - Fork 900
404/422 Errors triggers exceptions Parameter "status" not found, check the identifiers configuration
#6002
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
Comments
I have trouble reproducing this, can you give me the stack trace behind the parameter issue? |
soyuka
added a commit
to soyuka/core
that referenced
this issue
Nov 28, 2023
soyuka
added a commit
to soyuka/core
that referenced
this issue
Nov 28, 2023
soyuka
added a commit
that referenced
this issue
Nov 29, 2023
Okay this was only some logging with no influence on behavior but I skipped this particular case, it'll be released by the end of the week. Thanks! |
thank you |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
API Platform version(s) affected: 3.2.6
Description
Since v3.2.6 404 errors trigger a new exception (reported by sentry)
This is triggered by the
UriVariablesResolverTrait
trait when resolving the"/errors/{status}"
template.The
status
parameter does not exist.There is a variant with 422 trying to resolve the
/validation_errors/{id}
template from theApiPlatform\Symfony\Validator\Exception\ValidationException
resourceHow to reproduce
Call a
/resources/id_does_not_exist
endpoint, watch Symfony's profiler logs panelPossible Solution
Additional Context
maybe related to #5974
The text was updated successfully, but these errors were encountered: