Development Mode: packages.restrictions.instant_pickup_time

I’m currently devleoping my website using the stuart API… everything was going great untill I started to get an error from the API when I try and book a car for an immediate job…

{“error”:“RECORD_INVALID”,“message”:“Unable to save record”,“data”:{“packages.restrictions.instant_pickup_time”:[“is not valid”]}}

According to this post:

I get this error becuase the request is being made at a time when stuart is closed

My question is…when I am developing the website…in test mode… how do I stop it from sending me this response?

I am working on this website in the middle of the night does that mean I can only work on it in the day?


Thanks for your message, can you send us (in private message if you prefer) some identifiable details of your requests so we can find them in our logs?

Hi Paul,

I’m having the same problem this morning.


curl -X POST \ \
  -H 'Authorization: Bearer MY_TOKEN' \
  -H 'Content-Type: application/json' \
  -H 'cache-control: no-cache' \
  -d '{"job":{"pickups":[{"address":"28 Great George St, Leeds, LS1 3DL"}],"dropoffs":[{"address":"11 Park Row, Leeds, LS1 5HD","package_type":"small"}]}}'


    "error": "RECORD_INVALID",
    "message": "Unable to save record",
    "data": {
        "packages.restrictions.instant_pickup_time": [
            "is not valid"