Comment on Consequences of Short delivery - NSE/BSE
Kumaran,
There is little you could do(or Zerodha) to avoid short delivery as the seller you bought from failed to deliver the shares to you. You will have to wait till T+3 day when the stock will be delivered to you after the auction.