You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Order Api and Other Finance Api are Working fine and in Report API Some Report are generating fine but when i try for Settlement Report getting
Fun Call:
report_type='GET_V2_SETTLEMENT_REPORT_DATA_FLAT_FILE'
start_date = (datetime.utcnow() - timedelta(days=30)).isoformat()
end_date = (datetime.utcnow() - timedelta(days=0)).isoformat()
res = Reports(credentials=credentials, marketplace=Marketplaces.IN)
res.get_reports(reportType=report_type, processingStatuses="DONE", marketplaceIds=Marketplaces.IN.marketplace_id, pageSize=1, createdSince=start_date, createdUntil=end_date)
ERROR "
Exception Type: SellingApiForbiddenException
Exception Value: [{'message': 'Access to requested resource is denied.', 'code': 'Unauthorized', 'details': ''}]
Exception Location: /home/user/.local/lib/python3.8/site-packages/sp_api/base/client.py, line 112, in _check_response
"
Thanks
Beta Was this translation helpful? Give feedback.
All reactions