You will get this error under following scenarios:
- When the request is invalid (example, the order data sent is invalid). This is the most common cause.
- When Upstox’s servers are having issues
Solution
Depending on the cause, check following things:
- Make sure order request is valid. There are many reasons due to which an order can be considered as invalid, all the reasons are mentioned in invalid orders page.
- If the problem is due to Upstox’s server issues then please contact support.