diff --git a/india_compliance/gst_india/utils/gstin_info.py b/india_compliance/gst_india/utils/gstin_info.py index 72534135d5..d708868877 100644 --- a/india_compliance/gst_india/utils/gstin_info.py +++ b/india_compliance/gst_india/utils/gstin_info.py @@ -50,7 +50,7 @@ def _get_gstin_info(gstin, *, throw_error=True): if not response: try: if frappe.cache.get_value("gst_server_error"): - return + return frappe._dict() response = PublicAPI().get_gstin_info(gstin) frappe.enqueue(