-
-
Notifications
You must be signed in to change notification settings - Fork 73
Closed
Description
Describe the bug
1-bug: reports.py-41 kwargs.pop('body') is error,Nofound body in kwargs.
2-bug: client.py-239 Content-type is incorrect, resulting in a return status of 400/422, params should not use the passed data.In general there are multiple errors here
sponsored_products Reports post_report
Not submitting the request with the Content-type will result 422/400 status_code。
To Reproduce
Steps to reproduce the behavior:
- call sponsored_products.Reports(credentials=my_credentials, marketplace=Marketplaces.NA, debug=True).post_report(
recordType="campaigns",
metrics='impressions',
reportDate="20220729"
)
Additional context
I'll submit new code when I'm done, if you're willing to accept。 grateful!
Metadata
Metadata
Assignees
Labels
No labels