Skip to content

Wrong Date type #132

Description

@LucJosin

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]}"
}

Activity

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions