Unauthorized: Access to Request Resource is Denied. While Hitting the Finance API #137
-
Hi, finance = Finances(credentials=client_config, marketplace=Marketplaces.ES) I'm Getting this as a Response |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
I solved this Error. |
Beta Was this translation helpful? Give feedback.
-
You need to provide
Acces key and secret key for your IAM ACCOUNT. And rest will be created
whne you make an app.
…On Wed, May 5, 2021, 3:16 PM M.k Hasan ***@***.***> wrote:
Hi can you please tell me how did you get the order data? I meant which
credentials i need to provide?
I am confused.
Thanks
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#137 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AINCYVOSBG2HFTVYNHJA7CTTMEHYNANCNFSM43OEEGLQ>
.
|
Beta Was this translation helpful? Give feedback.
-
I don't know about the actual work of MWS because I worked directly with
SP-API. So In SP-API They have changed the format of the output and
provided more functionalities. In SP-API You have to first create the App
that the app will be responsible to restrict a developer for certain Data.
You need to fill the form of the Developer in which you will define for
which articular thing you need access. Then After this you need to go
inside the app and select those things(boxes) which you selected while
filling the form. So after this, you can access the Data. Every app has its
creds that will be passed in the API call
…On Wed, May 5, 2021 at 5:09 PM M.k Hasan ***@***.***> wrote:
I was suing MWS API and could get the report data using Seller ID, Access
Key and Secret Key.
What is the difference with SP API, can you please tell me?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#137 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AINCYVI7APOWT4OLQR4GZUTTMEU6BANCNFSM43OEEGLQ>
.
|
Beta Was this translation helpful? Give feedback.
I solved this Error.
If you are facing the same issue go to developer Profile and See If The API you are hitting has Access to view the Information or not. In my case, It was not. Now check all the boxes you need and then register(save and exit). After this got to edit the app and select the Boxes you checked in the developer form. Now generate new Refresh Token for the app. after this Paste this in your code and it will work. Check The marketplace. If you are passing the Wrong marketplace it will throw the Same access denied message.
Thanks.