Fyers API returning -99 error for successful orders

So, I have some webhook to purchase stocks when I get request to it. I had placed some tradingview alerts on nifty 500.

My app automatically makes the webhook inactive when order gets placed successfully, so it doesn’t place other orders when I already have one.

Here comes fyers API, I check whether order was successful based on fyers API response. But for all the orders that happened, it returned:


Order Response: {

  code: -99,

  message: " ",

  s: "error",

  id: "25012000002697",

}

No message, and all the orders were sucessfully placed.

I took like around 12 orders like that, would really like to know why this happened and refund of the lost amount because of this.

This is not the first time I am facing issues with Fyers API, and websocket.

PS: I already have raised ticket regarding this.

Hi @115626981794628181016,

We regret the inconvenience caused.

We understand your concern, issue has been resolved. Rest assured, we’re taking proactive steps to prevent such occurrences in the future.

Thank you for your understanding.

Same thing happened last Monday, not sure how proactive things are

Hi Prasenjit,

We understand your concern and assure you that this will not happen again.

Same is the case with me, this is the third time it happened to me. {‘code’: 200, ‘message’: ‘’, ‘data’: [{‘statusCode’: 200, ‘body’: {‘code’: -99, ‘message’: ’ ', ‘s’: ‘error’, ‘id’: ‘25012000040722’}, ‘statusDescription’: ‘OK’}, {‘statusCode’: 200, ‘body’: {‘code’: -99, ‘message’: ’ ', ‘s’: ‘error’, ‘id’: ‘25012000040723’}, ‘statusDescription’: ‘OK’}], ‘s’: ‘ok’}.

It’s very concerning, fortunately I was observing the screen and manually put sl but extra orders got placed since I did not recieve "s " as “ok”.
@naresh_janagama Can you please point out the exact issue so that developers can put conditional statements from their side?
It clearly shows lack of seriousness from fyers side to deploy code that have not been tested properly.
Also, instead of reaching out to traders regarding issue using their api they remained silent.

Please maintain some professionalism as people are trusting you with your hard earned money and they deserve same from your side.

@naresh_janagama sorry but, REGRET DOES NOT BRING BACK PEOPLE’S LOST MONEY.

Sorry but, REGRET DOES NOT BRING BACK PEOPLE’S LOST MONEY.

Was gonna say samething, but decided not to after seeing their responses. All we gonna get back as response is “regret”.

We understand your concern and assure you that this will not happen again.

What about what has already happened? and according to other comments it happened last week too.

Hi Akash,

Apologies for your loss.

We have taken the necessary steps to prevent this issue from happening again.

Hi @111688361577888913505,

This had been fixed, kindly confirm you are still facing the same issue.