Replies: 1 comment 5 replies
-
For your first problem, there's something wrong with your credentials. Note that there are 2 sections in seller central where you can assign permissions/request permissions from Amazon. Please contact seller support to fix the errors with your credentials. Every test passes with working credentials. For the second one, sandbox behavior is different from normal requests. Please look in the repo's "models" folder and find the sandbox-behavior parameters for the endpoint you want to test in the json file. Once you have that, you can test the endpoint. Thanks for contributing! |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello. First of all, thank you for your work with this project.
I am trying the tests and there are some that I have had to correct, but others do not work for me and give an error [{'message': 'Access to requested resource is denied.', 'Code': 'Unauthorized', 'details':' '}].
The sandbox tests that fail are:
test_get_inventory_summary_marketplace -> Access to requested resource is denied.
test_create_subscription -> Access to requested resource is denied.
test_delete_subscription -> Access to requested resource is denied.
The product and inventories tests, I had to fix them.
The credentials seem valid, since the rest of the methods work correctly. And in application roles, everything is marked.
On the other hand, I have developed the merchant_fullfillment model (which I would like to do pull request). But I can't get him to pass all the tests ...
The get_shipment is very simple and gives me [{'message': 'We encountered an internal error. Please try again. ',' Code ':' InternalFailure '}]
`
@sp_endpoint ("/ mfn / v0 / shipments / {}")
def get_shipment (self, shipment_id: str, ** kwargs) -> ApiResponse:
"""
get_shipment (self, shipmentId: str) -> ApiResponse
Returns a specified item and its attributes.
`
Any suggestion?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions