Australia Post shipping method does not display - Forbidden error returned by API
RetailExpress opened this issue · 2 comments
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.
the bug still exist, any update?
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