I’m receiving the below error when creating a job in the sandbox environment however the job proceeds, I then begin to receive webhooks.
400 {"error":"JOB_INVALID_DUPLICATED_ORDER_ID","message":"Provided order ID is already used","data":{"job.dropoffs.client_reference":["must be unique","size cannot be greater than 191"]}}
the response being sent to client {
code: 400,
message: '{"error":"JOB_INVALID_DUPLICATED_ORDER_ID","message":"Provided order ID is already used","data":{"job.dropoffs.client_reference":["must be unique","size cannot be greater than 191"]}}'
}
webhook event received:
info: Update from Stuart sent to updateShipment Queue:
info: Event Logged {"processed":false,"version":"v3","occurred_at":"2024-04-07T18:50:57.917+02:00","event_id":"bafb0a42-db42-49a3-92fb-fcdbb0f5cc8c","webhook_id":2987,"topic":"courier_arriving","details":{"account":{"id":},"package":{"id": ,"reference":"run_6612c795a353a9e851eb94d6"},"proximity_radius":{"magnitude":36,"value":36,"unit":"meters"},"task":"dropoff"},"id":"6612cef441888f3018a301e5"}
Message sent to queue updateShipment: {
type: 'statusUpdate',
shipment: {
our_ref: 'run_6612c795a353a9e851eb94d6',
carrier_reference: '********'
},
details: {
account: { id: ****** },
package: { id: *****, reference: 'run_6612c795a353a9e851eb94d6' },
proximity_radius: { magnitude: 36, value: 36, unit: 'meters' },
task: 'dropoff'
}
}
We are definitely creating a unique reference for each job created. what does the 191 limit refer to. If its characters then we are okay there too ?