Looks like maybe no data was returned, which would need to be tested for separately. Possibly set data to None before the call just to be certain.
if not data or if data['err']:
File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/bln/client.py", line 483, in _upload_file
uri, err = _get_upload_uri(endpoint, token, projectId, path)
File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/bln/client.py", line 509, in _get_upload_uri
if data["err"]:
TypeError: 'NoneType' object is not subscriptable
"""
Looks like maybe no
data
was returned, which would need to be tested for separately. Possibly set data to None before the call just to be certain.if not data or if data['err']:
File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/bln/client.py", line 483, in _upload_file uri, err = _get_upload_uri(endpoint, token, projectId, path) File "/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/bln/client.py", line 509, in _get_upload_uri if data["err"]: TypeError: 'NoneType' object is not subscriptable """