Discussions

Ask a Question
Back to All

Database error when trying to get order created through create-booked-order endpoint

Hi RR support,

I created an order with the create-booked-order endpoint:

curl --request POST
--url https://platform.roserocket.com/api/v1/customers/<customer_id>/create_booked_order
--header 'accept: application/json'
--header 'authorization: Bearer '
--header 'content-type: application/json'
--data '
{
"origin": {
"org_name": "DAL1"
},
"destination": {
"org_name": "HOU2"
},
"billing_option": "thirdparty",
"dim_type": "ltl"
}
'

I tried it in the Readme at this link: https://roserocket.readme.io/v1.0/reference/create-booked-order

It returned HTTP 200 and I got a response with an order id from RR.

However, when I take the order id from the order and try to go to the rr link for that, i.e. https://{subdomain}.roserocket.com/#/ops/orders/{order id}

it says Database error. What could be causing this?