My file share successful experience for your reference:
$ curl -i -X PUT "https://storage1657.file.core.windows.net/test2/observation/test-1-min-obs-2023-02-28-144253.json?<SAS key>" -H "x-ms-content-length: 183999" -H "Content-Length: 0" -H "x-ms-type: file" -H "x-ms-version: 2023-08-03"
$ curl -i -X PUT "https://storage1657.file.core.windows.net/test2/observation/test-1-min-obs-2023-02-28-144253.json?<SAS key>&comp=range" -H "x-ms-write: update" -H "x-ms-range: bytes=0-183998" -H "x-ms-version: 2023-08-03" --upload-file "1-min-obs-2023-02-28-144253.json"