pymysql.err.InternalError: (1054, "Unknown column 'gst_category' in 'field list'")

I found the issue. It comes when the pricelist does not have country selected. If I select India, then it doesn’t throw the exception.