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

Wrong Date type #132

Open
LucJosin opened this issue May 17, 2024 · 0 comments
Open

Wrong Date type #132

LucJosin opened this issue May 17, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@LucJosin
Copy link
Member

Description

Requesting https://hawapi.theproject.id/api/v1/characters?last_name=*Wheeler&gender=1&birth_date=%3E=1967-01-01 will return 505 error: Parameter value [1967-01-01] did not match expected type [java.time.LocalDate (n/a)]

{
    "code": 500,
    "status": "Internal Server Error",
    "method": "GET",
    "cause": "Parameter value [1967-01-01] did not match expected type [java.time.LocalDate (n/a)]",
    "message": "Parameter value [1967-01-01] did not match expected type [java.time.LocalDate (n/a)]; nested exception is java.lang.IllegalArgumentException: Parameter value [1967-01-01] did not match expected type [java.time.LocalDate (n/a)]",
    "timestamps": "2024-05-17T01:43:03.502",
    "url": "/api/v1/characters",
    "params": "{lastName=[*Wheeler],gender=[1],birthDate=[>=1967-01-01]}"
}
@LucJosin LucJosin added the bug Something isn't working label May 17, 2024
@LucJosin LucJosin self-assigned this May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant