Skip to content

Commit 796104a

Browse files
committed
fix: handle missing 'x-ms-file-name' header in _download_file method
1 parent bbfaebc commit 796104a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/PowerPlatform/Dataverse/data/_file_operations.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ def _download_file(
200200
if file_name is None:
201201
raise ValueError("Response is missing the 'x-ms-file-name' header. The file column may be empty or the server did not return the expected header.")
202202
return file_name, response.content
203+
203204
def _delete_file(
204205
self,
205206
entity_set: str,

0 commit comments

Comments
 (0)