AB1004: Something went wrong. Please try after sometime


  • Getting this error occasionally. What does this mean?

    Happened while placing an order. And is it safe to retry the order when we get this error? Or the order will be placed & we still get this error.

    See logs below:

    -- Server algo-vm-prod

    Apr 15 14:00:57 algo-vm-prod trading.jar[20546]: 2021-04-15 14:00:57.600 ERROR 20561 --- [nio-9009-exec-5] c.d.trading.platform.TradingComponent : Error message: Error from Angel: Internal server error.. Angel error code: AB1004, Message: Something went wrong. Please try after sometime
    Apr 15 14:24:00 algo-vm-prod trading.jar[20546]: 2021-04-15 14:24:00.922 ERROR 20561 --- [nio-9009-exec-1] c.d.trading.platform.TradingComponent : Error message: Error from Angel: Internal server error.. Angel error code: AB1004, Message: Something went wrong. Please try after sometime
    Apr 15 14:38:53 algo-vm-prod trading.jar[20546]: 2021-04-15 14:38:53.577 ERROR 20561 --- [io-9009-exec-18] c.d.trading.platform.TradingComponent : Error message: Error from Angel: Internal server error.. Angel error code: AB1004, Message: Something went wrong. Please try after sometime
    Apr 15 14:38:57 algo-vm-prod trading.jar[20546]: 2021-04-15 14:38:57.767 ERROR 20561 --- [io-9009-exec-24] c.d.trading.platform.TradingComponent : Error message: Error from Angel: Internal server error.. Angel error code: AB1004, Message: Something went wrong. Please try after sometime
    Apr 15 14:39:30 algo-vm-prod trading.jar[20546]: 2021-04-15 14:39:30.761 ERROR 20561 --- [nio-9009-exec-1] c.d.trading.platform.TradingComponent : Error message: Error from Angel: Internal server error.. Angel error code: AB1004, Message: Something went wrong. Please try after sometime
    Apr 15 14:39:30 algo-vm-prod trading.jar[20546]: 2021-04-15 14:39:30.803 ERROR 20561 --- [io-9009-exec-14] c.d.trading.platform.TradingComponent : Error message: Error from Angel: Internal server error.. Angel error code: AB1004, Message: Something went wrong. Please try after sometime
    Apr 15 14:42:52 algo-vm-prod trading.jar[20546]: 2021-04-15 14:42:52.599 ERROR 20561 --- [ SqareOff-306] c.d.trading.platform.TradingComponent : Error message: Error from Angel: Internal server error.. Angel error code: AB1004, Message: Something went wrong. Please try after sometime
    Apr 15 14:45:33 algo-vm-prod trading.jar[20546]: 2021-04-15 14:45:33.806 ERROR 20561 --- [ SqareOff-307] c.d.trading.platform.TradingComponent : Error message: Error from Angel: Internal server error.. Angel error code: AB1004, Message: Something went wrong. Please try after sometime

    -- Server algo-vm-prod-3

    Apr 15 14:03:24 algo-vm-prod-3 trading.jar[24103]: 2021-04-15 14:03:24.045 ERROR 24117 --- [nio-9009-exec-5] c.d.trading.platform.TradingComponent : Error message: Error from Angel: Internal server error.. Angel error code: AB1004, Message: Something went wrong. Please try after sometime
    Apr 15 14:04:02 algo-vm-prod-3 trading.jar[24103]: 2021-04-15 14:04:02.796 ERROR 24117 --- [nio-9009-exec-6] c.d.trading.platform.TradingComponent : Error message: Error from Angel: Internal server error.. Angel error code: AB1004, Message: Something went wrong. Please try after sometime
    Apr 15 14:07:39 algo-vm-prod-3 trading.jar[24103]: 2021-04-15 14:07:39.102 ERROR 24117 --- [ SqareOff-109] c.d.trading.platform.TradingComponent : Error message: Error from Angel: Internal server error.. Angel error code: AB1004, Message: Something went wrong. Please try after sometime
    Apr 15 14:21:27 algo-vm-prod-3 trading.jar[24103]: 2021-04-15 14:21:27.973 ERROR 24117 --- [io-9009-exec-20] c.d.trading.platform.TradingComponent : Error message: Error from Angel: Internal server error.. Angel error code: AB1004, Message: Something went wrong. Please try after sometime
    Apr 15 14:30:06 algo-vm-prod-3 trading.jar[24103]: 2021-04-15 14:30:06.154 ERROR 24117 --- [io-9009-exec-16] c.d.trading.platform.TradingComponent : Error message: Error from Angel: Internal server error.. Angel error code: AB1004, Message: Something went wrong. Please try after sometime
    Apr 15 14:30:11 algo-vm-prod-3 trading.jar[24103]: 2021-04-15 14:30:11.233 ERROR 24117 --- [io-9009-exec-16] c.d.trading.platform.TradingComponent : Error message: Error from Angel: Internal server error.. Angel error code: AB1004, Message: Something went wrong. Please try after sometime
    Apr 15 14:42:20 algo-vm-prod-3 trading.jar[24103]: 2021-04-15 14:42:20.229 ERROR 24117 --- [ SqareOff-128] c.d.trading.platform.TradingComponent : Error message: Error from Angel: Internal server error.. Angel error code: AB1004, Message: Something went wrong. Please try after sometime
    Apr 15 14:55:49 algo-vm-prod-3 trading.jar[24103]: 2021-04-15 14:55:49.882 ERROR 24117 --- [io-9009-exec-18] c.d.trading.platform.TradingComponent : Error message: Error from Angel: Internal server error.. Angel error code: AB1004, Message: Something went wrong. Please try after sometime


  • @admin I can confirm that we did not see this error on any of our servers today (16th April). Do let us know your findings from the investigation & the steps taken to avoid such issues from happening in the future.


  • hi @StocksDeveloper @c_harish we will check our logs and update you back on this.


  • @StocksDeveloper @admin
    we also faced this today.


  • Hi @StocksDeveloper we have reported this to the team we will revert you back asap.


  • @StocksDeveloper I believe it is not safe to retry the order. As sometimes we get this error happens the order actually gets placed & sometimes we get this error but the order does not gets placed.

    So there is no predicted behavior to put automated retry logic for order.

    Please fix this as we do not have a workaround for this error.

    Also it would be better if the error can specify the cause instead of a generic message like "Something went wrong"; as it gives no information to API user about what actually went wrong.