Skip to content

Commit 37c791b

Browse files
authored
Fix the Content-Range header
When providing the Content-Range header during upload, it actually has to be prefixed with "bytes ", otherwise CDS will return code 416.
1 parent a6e03b6 commit 37c791b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

powerapps-docs/developer/common-data-service/file-attributes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ Location: api/data/v9.1/accounts(id)/myfileattribute?FileContinuationToken
166166
PATCH [Organization URI]/api/data/v9.1/accounts(id)/myfileattribute?FileContinuationToken
167167
168168
Headers:
169-
Content-Range: 0-4095/8192
169+
Content-Range: bytes 0-4095/8192
170170
Content-Type: application/octet-stream
171171
x-ms-file-name: sample.png
172172

0 commit comments

Comments
 (0)