These docs are for v1.0. Click to read the latest docs for v2024.09.

Discussions

Ask a Question
Back to All

Failed to create pickup from requseted Pickup timeslot

Hi, We tried to create a pickup according to the timeslot provided by API.

and this is what we got:

{"2022-09-06":[{"min_time":16,"max_time":20},{"min_time":14,"max_time":18},{"min_time":9,"max_time":13},{"min_time":8,"max_time":12},{"min_time":12,"max_time":16},{"min_time":10,"max_time":14}],"2022-09-07":[{"min_time":16,"max_time":20},{"min_time":14,"max_time":18},{"min_time":9,"max_time":13},{"min_time":8,"max_time":12},{"min_time":12,"max_time":16},{"min_time":10,"max_time":14}],"2022-09-08":[{"min_time":16,"max_time":20},{"min_time":14,"max_time":18},{"min_time":10,"max_time":14},{"min_time":9,"max_time":13},{"min_time":8,"max_time":12},{"min_time":12,"max_time":16}],"2022-09-09":[{"min_time":16,"max_time":20},{"min_time":14,"max_time":18},{"min_time":10,"max_time":14},{"min_time":9,"max_time":13},{"min_time":8,"max_time":12},{"min_time":12,"max_time":16}],"2022-09-10":[],"2022-09-11":[],"2022-09-12":[],"2022-09-13":[{"min_time":16,"max_time":20},{"min_time":14,"max_time":18},{"min_time":9,"max_time":13},{"min_time":8,"max_time":12},{"min_time":12,"max_time":16},{"min_time":10,"max_time":14}]}

and 1 min later, we requested a pickup

{"message":"Failed to create Pickup","errors":["Sorry, it is too late to request a pickup at this time, please refresh and try again"],"pickup_fee":0.0,"available_balance":1000.0}

We tried to create the same shipment from the portal, and the timeslot we received is completely different with what we get from API

The courier is our own courier account (UPS), it does not happen every time but 5 out of 10 request.

May I know how can this heppan?