amzn / selling-partner-api-models

This repository contains OpenAPI models for developers to use when developing software to call Selling Partner APIs.
Apache License 2.0
612 stars 739 forks source link

[BUG] [SP-API] Unable to fetch orders for Belgian marketplace - "Unauthorized" #2712

Closed nothinman closed 1 year ago

nothinman commented 1 year ago

Hi. I'm fetching orders for all the marketplaces, and all work fine except for Belgium. This is what I get:

nothinman@node-dev:~/new-amazon-api$ node copyGetOrdersEU.js Fetching order for marketplace: BE - AMEN7PMS3EDWL Loaded credentials from config object CustomError: Access to requested resource is denied. at SellingPartner.callAPI (/home/nothinman/new-amazon-api/node_modules/amazon-sp-api/lib/SellingPartner.js:711:13) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async fetchAllOrders (/home/nothinman/new-amazon-api/copyGetOrdersEU.js:270:13) at async /home/nothinman/new-amazon-api/copyGetOrdersEU.js:328:3 { code: 'Unauthorized', details: '', type: 'error' }

As mentioned earlier - all other marketplaces work just fine. Is this a bug or is there a setting somewhere that I've missed?

Thanks!

rodrifed commented 1 year ago

Hi @nothinman,

Thank you for your message.

In order to correctly debug your issue, I will kindly ask you to please open a developer support case using our contact form. Our support team will be able to provide assistance on that matter. While opening your case, please specify request id and timestamp.

Thank you, Federico Selling Partner Developer Services