Invalid request parameter
This problem occurs when a client request contains invalid or malformed parameters, causing the server to reject the request.
Description
Your client application issued a request to an API that contains invalid or malformed parameters. This typically means that one or more parameters in the request (path or query) do not match the expected format or data type defined by the API.
Example
{
"type": "https://dev.euipo.europa.eu/problems-registry/invalid-request-parameter",
"title": "Invalid request parameter",
"detail": "The request contained invalid, or malformed parameters (path or header or query)",
"status": 400,
"instance": "/messages",
"code": "invalid-request-parameter",
"errors": [
{
"detail": "Sort key and sort direction (asc/desc) that can optionally be appended to sort key, separated by the colon ‘:’ character",
"parameter": "sort"
}
],
"correlationId": "b1691dd94ef7a729cf33cf09561b0e0f"
}
Troubleshooting Steps
- Review the API documentation: Ensure that the parameters in your request match the expected format and data types defined by the API.
- Validate the parameters: Check that all parameters (path, header, or query) are correctly formatted and typed.
- Check for typos: Ensure there are no typos in the parameter names or values.
Error Details
The errors property in the response provides detailed information about specific issues within the request body. Each object in the errors array includes:
- detail: A description of the specific error.
- parameter: The name of the parameter that caused the error.