Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues manifesting a big order. #3

Open
hirani89 opened this issue Jul 13, 2022 · 1 comment
Open

Issues manifesting a big order. #3

hirani89 opened this issue Jul 13, 2022 · 1 comment

Comments

@hirani89
Copy link

hirani89 commented Jul 13, 2022

Hi @joshbmarshall, I've now been using this library for quite some time. It's working really well for me.

But every now and then I need to manifest (createOrder) several shipments.

I have noticed that any order greater than 50 shipments does manifest on the auspost side but returns with an error and order id as None.

And when I go to my auspost portal, the shipments have been manifested.

So it looks like the issue can be either the size of the response being too big (given the size of the pdf will be larger) or the time taken for auspost to process and generate a pdf is very long

@joshbmarshall
Copy link
Owner

According to their api docs https://developers.auspost.com.au/apis/shipping-and-tracking/reference/create-order-from-shipments the limit is 2000 shipments in the manifest.
So from that, you shouldn't have to split up a manifest into 50 shipments but it's something you could do.
Have you got a snapshot of what is returned from auspost to see what their error response is?

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

No branches or pull requests

2 participants