OneDrive / onedrive-api-docs

Official documentation for the OneDrive API
MIT License
451 stars 228 forks source link

Upload file with filename prefix "windows" failed #1785

Open huantingc opened 6 months ago

huantingc commented 6 months ago

[Enter feedback here]

We attempted to upload a file via the API provided below. If the filename includes the prefix "Windows," the response received is "itemNotFound."

Successful Upload: PUT https://api.onedrive.com/v1.0/drive/items/<folder_id>:/test.txt:/content Unsuccessful Upload: PUT https://api.onedrive.com/v1.0/drive/items/<folder_id>:/Windows%201:/content (Response: 404 item not found)

Furthermore, we changed the account and retried the aforementioned API calls; both were successful. We are curious about any limitations on filenames.


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.