Passing datetime strings breaks requests · Issue #259 · python-amazon-mws/python-amazon-mws · GitHub
Skip to content
This repository was archived by the owner on Jan 4, 2025. It is now read-only.
This repository was archived by the owner on Jan 4, 2025. It is now read-only.

Passing datetime strings breaks requests #259

Description

@samamorgan

Breaking change from 0.8.10 --> 0.8.13

When passing parameters, datetime strings are being URL encoded and causing the following response.

Orders.list_orders(marketplaceids=['A2EUQ1WTGCTBG2'], created_after='2021-03-18T18:55:19.458391+00:00', next_token=None)
<ErrorResponse xmlns="https://mws.amazonservices.com/Orders/2013-09-01">
  <Error>
    <Type>Sender</Type>
    <Code>MalformedInput</Code>
    <Message>timestamp must follow ISO8601</Message>
  </Error>
  <RequestId>70f81462-3cca-45a8-a8e0-bc84ecde41de</RequestId>
</ErrorResponse>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions