Hi Kiran,
This is because in background, system faced issue while TO creation. May be it was confused to determine from which source it should pick the stock or may be locking issue. You should have configured mail setup for receiving the correct error.
Regards,
Pritt