-
Notifications
You must be signed in to change notification settings - Fork 29
Guzzle/Guzzle #65
Comments
The error isn't related to the version of the Guzzle library being used. When I run the same code I get the following content in the 404 response:
Unfortunately this is part of Australia Post's service so there's not much we can do about this limit. |
Ahh sorry bad example from the log. having problems getting a rate from postcode 3033 to postcode 0850 with a weight of 6 KG. im only seeing this error from the exception.log on the front end there is literally nothing returned. Interestingly if i go to 2320 (not 0850) i get a result. Is there a way to see a better error log, as the exception.log would indicate to me a guzzle issue? 2017-04-07T08:27:33+00:00 ERR (3): |
I tested the URL directly again and got this:
It seems to be a problem with the postcode being "0850", which appears to get converted to "850" somewhere. This is most likely a bug somewhere in the extension itself, rather than with the use of the older Guzzle version. I will take a look soon and update this issue once I have more info. |
Hi, Have you had any luck with this at all? |
The latest release includes a fix for this. Hopefully that resolves it for you - let us know if there are any other problems. |
Hi, unfortunately no fix it seems. getting this error in exception log 2017-05-01T14:30:42+00:00 ERR (3): |
This seems to be a problem with the auspost-php-sdk library. We've just pushed an update that will hopefully address this - could you try updating to 1.0.5 and see if that helps?
|
Hi confirmed this has resolved the issue |
will you be updating to remove its requirement on Guzzle/guzzle? as it is depreciated now?
im getting this error any idea?
2017-04-03T17:10:06+00:00 ERR (3):
Guzzle\Http\Exception\ClientErrorResponseException: Client error response
[status code] 404
[reason phrase] Not Found
[url] https://digitalapi.auspost.com.au/postage/parcel/domestic/service?from_postcode=3033&to_postcode=2320&length=20&width=20&height=20&weight=31.5 in /home/globalgs/public_html/vendor/guzzle/guzzle/src/Guzzle/Http/Exception/BadResponseException.php:43
Stack trace:
The text was updated successfully, but these errors were encountered: