Skip to content

Commit 2fd998b

Browse files
committed
SNOW-27254: SnowSQL and Python Connector cannot connect ot Okta
1 parent 7cd4413 commit 2fd998b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

network.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,7 @@ def request_thread(result_queue):
634634
pool_maxsize=int(max_connection_pool),
635635
max_retries=requests_retry))
636636

637-
if data and len(data) > 0:
637+
if not catch_okta_unauthorized_error and data and len(data) > 0:
638638
gzdata = BytesIO()
639639
gzip.GzipFile(fileobj=gzdata, mode=u'wb').write(
640640
data.encode(u'utf-8'))

0 commit comments

Comments
 (0)