Tally JSON import failed

JSON import failed with the message below:
Ledger import is failed.

Error: Exception occurred due to Frappe.

Possible Solutions:
1. Please check if there are vouchers in Tally for the selected period. JSON import will go through only if there is at least one voucher in the books

2. If Integrated inventory is enabled in tally, but there are no stock items, this issue can come up. 

To overcome this error, disable "Integrated Inventory" (After ensuring that Opening stock and Closing stock are zero in the P&L statement) in Tally and export the JSON again.  .