Issue with Job Creation API – Receiving "UNKNOWN" Error

I am integrating the Stuart Job Creation API in my system, but I am encountering an issue. When I call the endpoint:

POST /v2/jobs

with the following payload:

{“job”: {“pickups”: [{“address”: “PICKUP_ADDRESS”,“contact”: {“firstname”: “VendorFirst”,“lastname”: “VendorLast”,“phone”: “+91XXXXXXXXXX”,“email”: “test@gmail.com”}}],“dropoffs”: [{“package_type”: “small”,“address”: “DROPOFF_ADDRESS”,“contact”: {“firstname”: “UserFirst”,“lastname”: “UserLast”,“phone”: “+91XXXXXXXXXX”,“email”: “test@gmail.com”}}]}}
I receive the following error response:
{“error”: “UNKNOWN”,“message”: “Something went wrong. Please try again later.”}

I have confirmed that:

  • The access token is valid and generated successfully.

  • Phone numbers are formatted with a leading +.

  • All required fields (address, contact) are being sent.

Could you please help me understand why the API is returning this generic UNKNOWN error and guide me on how to resolve it?

Hi Krinal,

Thank you for reaching out.

I’m checking on this and will update you as soon as I have more information.

Thanks!
Tasnim

Hi Krinal

I found that our Sandbox has been experiencing some bugs since August 14th, which caused the error message “Something went wrong. Please try again later.”
This issue was resolved this morning, so you shouldn’t encounter these errors anymore.

Sorry for the inconvenience, and thank you for your patience.

Best,
Tasnim

Hi Tasnim,

Thank you for the update and clarification. I’ll test again on my side and confirm if everything is working as expected.

Appreciate your support!

Best regards,
Krinal