Skip to content
This repository has been archived by the owner on Dec 11, 2022. It is now read-only.

Australia Post shipping method does not display - Forbidden error returned by API #12

Open
RetailExpress opened this issue Dec 19, 2017 · 2 comments

Comments

@RetailExpress
Copy link

I am using Magento 2.1.9 and get the below when loading the checkout page:

ext Exception: Report ID: webapi-5a3722f722a4c; Message: Client error response
[status code] 403
[reason phrase] Forbidden
[url] https://digitalapi.auspost.com.au/postage/parcel/domestic/service?from_postcode=3672&to_postcode=4519&length=0&width=0&height=0&weight=0.6 in /home/lionheart/public_html/vendor/magento/framework/Webapi/ErrorProcessor.php:195

I do not have a length or width configured on products but do have default values set in the plug-in settings (L=30cm W=15cm) though note those values don't seem to get passed through. Also, the weight I entered against this product was 0.3kg yet it appears to get passed to the API as 0.6.

@tariqmth
Copy link

tariqmth commented May 9, 2019

the bug still exist, any update?

@chnorton
Copy link
Member

chnorton commented May 9, 2019

This is likely an issue with the API key used to access the Auspost services. I would suggest trying the same query in the Auspost API Explorer and see if it's returns anything:

https://developers.auspost.com.au/apis/pac/explorer/postage-parcel-domestic-service

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants