Forum Discussion

Kotsak's avatar
Kotsak
Copper Contributor
Jan 31, 2025
Solved

My first post got immediately deleted

My first post here was a tech question/bug description related to OneDrive API. The post immediately disappeared and I'm not sure if I should just try posting it again.

This is the URL of my deleted post:

https://techcommunity.microsoft.com/discussions/onedrivedeveloper/uploading-file-to-onedrive-personal-fails-when-filename-is-prefixed-with-the-wor/4372557

 

  • It seems like your post on the Microsoft Tech Community was automatically flagged or removed. This can happen for several reasons:

    Possible Reasons for Deletion:

    1. Automated Spam Filters: Sometimes, posts with links, code snippets, or specific keywords trigger spam filters.
    2. Moderation Rules: The post might have violated community guidelines unintentionally (e.g., formatting issues or flagged content).
    3. Technical Glitch: Occasionally, posts get lost due to technical errors on the platform.

    What You Can Do:

    1. Check Your Email: Look for any notification from Microsoft Tech Community regarding your post’s status. They often send emails if a post is removed or flagged.
    2. Review Community Guidelines: Make sure your post aligns with the rules here.
    3. Repost the Question: Try posting again with slight modifications:
      • Remove any unnecessary links or reformat code snippets.
      • Use clear, concise language to describe the issue.
    4. Contact Moderators: If it gets deleted again, reach out to the site’s support or moderators to inquire why it’s being flagged.

    About your Question in discussion has been marked as spam…

    Uploading file to OneDrive Personal fails when filename is prefixed with the word "Windows".

    It seems like you've encountered a peculiar issue with the OneDrive API, particularly related to filenames prefixed with "Windows." To help you repost this without it getting flagged, I've reformatted and clarified the issue to improve readability and reduce the chances of automatic deletion. Here's an optimized version you can try:

    Issue: Uploading Files to OneDrive Personal Fails When Filename Starts with "Windows"

    Hi everyone,

    We've encountered a strange issue with our backup tool that affects random users. Files with names starting with "Windows" (e.g., Windows.gif) fail to upload to OneDrive Personal accounts, regardless of whether we're using:

    • Simple Item Upload (PUT request)
    • Resumable Item Upload (POST to create an upload session)

    Both methods return a 404 Not Found error.

    Details:

    • Simple Upload Fails after the PUT completes.
    • Resumable Upload Fails during the session creation call.
    • No issues with filenames not starting with "Windows."
    • A similar unresolved issue was reported here.

     

    Sample Request & Response:

    Simple Upload:

    bash

    PUT /v1.0/drive/items/{item-id}:/Windows.gif:/content

    Authorization: Bearer [token]

    Host: api.onedrive.com

    Response:

    json

    {

      "error": {

        "code": "itemNotFound",

        "message": "Item does not exist"

      }

    }

    Resumable Upload:

    bash

    POST /v1.0/drive/items/{item-id}:/Windows.gif:/upload.createSession

    Authorization: Bearer [token]

    Content-Type: application/json

    Response:

    json

    {

      "error": {

        "code": "itemNotFound",

        "message": "Item does not exist"

      }

    }

     

    Key Observations:

    • Random Accounts Affected: Issue occurs inconsistently across different OneDrive Personal accounts.
    • No Request ID: Failed responses lack request IDs, making tracing difficult.
    • Inconsistent Reproduction: I can't reproduce it on my account, but my colleague can.

     

    Questions:

    1. Has anyone encountered this before?
    2. Could this be related to reserved keywords or API filtering rules?
    3. Any advice on debugging this further, given the lack of request IDs?

           The text was created with the help of AI.

     

    My answers are voluntary and without guarantee!

     

    Hope this will help you.

     

    Was the answer useful? Mark as best response and like it!

    This will help all forum participants.

  • NikolinoDE's avatar
    NikolinoDE
    Gold Contributor

    It seems like your post on the Microsoft Tech Community was automatically flagged or removed. This can happen for several reasons:

    Possible Reasons for Deletion:

    1. Automated Spam Filters: Sometimes, posts with links, code snippets, or specific keywords trigger spam filters.
    2. Moderation Rules: The post might have violated community guidelines unintentionally (e.g., formatting issues or flagged content).
    3. Technical Glitch: Occasionally, posts get lost due to technical errors on the platform.

    What You Can Do:

    1. Check Your Email: Look for any notification from Microsoft Tech Community regarding your post’s status. They often send emails if a post is removed or flagged.
    2. Review Community Guidelines: Make sure your post aligns with the rules here.
    3. Repost the Question: Try posting again with slight modifications:
      • Remove any unnecessary links or reformat code snippets.
      • Use clear, concise language to describe the issue.
    4. Contact Moderators: If it gets deleted again, reach out to the site’s support or moderators to inquire why it’s being flagged.

    About your Question in discussion has been marked as spam…

    Uploading file to OneDrive Personal fails when filename is prefixed with the word "Windows".

    It seems like you've encountered a peculiar issue with the OneDrive API, particularly related to filenames prefixed with "Windows." To help you repost this without it getting flagged, I've reformatted and clarified the issue to improve readability and reduce the chances of automatic deletion. Here's an optimized version you can try:

    Issue: Uploading Files to OneDrive Personal Fails When Filename Starts with "Windows"

    Hi everyone,

    We've encountered a strange issue with our backup tool that affects random users. Files with names starting with "Windows" (e.g., Windows.gif) fail to upload to OneDrive Personal accounts, regardless of whether we're using:

    • Simple Item Upload (PUT request)
    • Resumable Item Upload (POST to create an upload session)

    Both methods return a 404 Not Found error.

    Details:

    • Simple Upload Fails after the PUT completes.
    • Resumable Upload Fails during the session creation call.
    • No issues with filenames not starting with "Windows."
    • A similar unresolved issue was reported here.

     

    Sample Request & Response:

    Simple Upload:

    bash

    PUT /v1.0/drive/items/{item-id}:/Windows.gif:/content

    Authorization: Bearer [token]

    Host: api.onedrive.com

    Response:

    json

    {

      "error": {

        "code": "itemNotFound",

        "message": "Item does not exist"

      }

    }

    Resumable Upload:

    bash

    POST /v1.0/drive/items/{item-id}:/Windows.gif:/upload.createSession

    Authorization: Bearer [token]

    Content-Type: application/json

    Response:

    json

    {

      "error": {

        "code": "itemNotFound",

        "message": "Item does not exist"

      }

    }

     

    Key Observations:

    • Random Accounts Affected: Issue occurs inconsistently across different OneDrive Personal accounts.
    • No Request ID: Failed responses lack request IDs, making tracing difficult.
    • Inconsistent Reproduction: I can't reproduce it on my account, but my colleague can.

     

    Questions:

    1. Has anyone encountered this before?
    2. Could this be related to reserved keywords or API filtering rules?
    3. Any advice on debugging this further, given the lack of request IDs?

           The text was created with the help of AI.

     

    My answers are voluntary and without guarantee!

     

    Hope this will help you.

     

    Was the answer useful? Mark as best response and like it!

    This will help all forum participants.

    • Kotsak's avatar
      Kotsak
      Copper Contributor

      Thanks for the suggestion, I've reposted it using your suggestion and this time it went through.

Resources