Skip to content

Validation errors raised for valid response #40

@Landcross

Description

@Landcross

When I search the catalog for product ID 9P29XK3N9SVQ (Assassin’s Creed Valhalla + Watch Dogs: Legion Bundle) the following error is raised:

pydantic.error_wrappers.ValidationError: 2 validation errors for CatalogResponse
Products -> 0 -> ValidationData -> ValidationResultUri
  none is not an allowed value (type=type_error.none.not_allowed)
Products -> 0 -> DisplaySkuAvailabilities -> 0 -> Sku -> Properties -> FulfillmentType
  none is not an allowed value (type=type_error.none.not_allowed)

However, when inspecting the raw api response, it seems to work fine. So, I think the validations are a little too restricted for the above values.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions