You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xbf in position 229810: invalid start byte #90
We are working on fetching changelist entries between two snapshots using the Isilon SDK. While doing so, we noticed an issue:
Exception Traceback:
In Isilon Library at path (File ""/tmp/libs/isilon/lib/isilon_sdk/v9_7_0/rest.py"", line 230, in request") this lines proceeses the entry r.data = r.data.decode('utf8')" and fails with error: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xbf in position 229810: invalid start byte"
Traceback (most recent call last):"
api_response = api_instance.get_changelist_entries("
File ""/tmp/libs/isilon/lib/isilon_sdk/v9_7_0/api/snapshot_changelists_api.py"", line 58, in get_changelist_entries"
(data) = self.get_changelist_entries_with_http_info(changelist, **kwargs) # noqa: E501"
File ""/tmp/libs/isilon/lib/isilon_sdk/v9_7_0/api/snapshot_changelists_api.py"", line 141, in get_changelist_entries_with_http_info"
return self.api_client.call_api("
File ""/tmp/libs/isilon/lib/isilon_sdk/v9_7_0/api_client.py"", line 341, in call_api"
return self.__call_api(resource_path, method,"
File ""/tmp/libs/isilon/lib/isilon_sdk/v9_7_0/api_client.py"", line 173, in __call_api"
response_data = self.request("
File ""/tmp/libs/isilon/lib/isilon_sdk/v9_7_0/api_client.py"", line 363, in request"
return self.rest_client.GET(url,"
File ""/tmp/libs/isilon/lib/isilon_sdk/v9_7_0/rest.py"", line 318, in GET"
return self.request(""GET"", url,"
File ""/tmp/libs/isilon/lib/isilon_sdk/v9_7_0/rest.py"", line 230, in request"
r.data = r.data.decode('utf8')"
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xbf in position 229810: invalid start byte"
"
During handling of the above exception, another exception occurred:"
"
OperationFailed: Failed to create snapshot changelist. Error: 'utf-8' codec can't decode byte 0xbf in position 229810: invalid start byte"
Steps to Reproduce:
Create two snapshot with large snapshot changelist entries and fetch the changelist entries.
The snapshot changelist entries took around 4 hours of get_changelist_entries and had provided the changelist entries as well.
The snapshot changelist entries we receive from invoking get_changelist_entries and had provided the changelist entries prior to we hit the error.
For specific nas share we are receiving the error: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xbf in position 229810: invalid start byte
Expected Behavior:
For most of the cases where the snapshot changelist entries were fetched we didn't observe this error and the decode at line r.data = r.data.decode('utf8')" should be able to decode and handle it.
Hi
Issue related to this is fixed recently. However, I see you are using quite older version 9_7 subpackage against 0.6.0.
Kindly try with version 0.7.0 SDK
Thank you for sharing these details. We'll proceed with updating to the latest version, and in case we face any issues along the way, we'll reach out here.
Activity
mmanwani07 commentedon Mar 6, 2026
Hi
Issue related to this is fixed recently. However, I see you are using quite older version 9_7 subpackage against 0.6.0.
Kindly try with version 0.7.0 SDK
mukeshguptakc commentedon Mar 6, 2026
Thank you for sharing these details. We'll proceed with updating to the latest version, and in case we face any issues along the way, we'll reach out here.