Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ODB] get negative size value from a aspx file #1053

Closed
1 of 3 tasks
joewutaiwan opened this issue Apr 25, 2019 · 5 comments
Closed
1 of 3 tasks

[ODB] get negative size value from a aspx file #1053

joewutaiwan opened this issue Apr 25, 2019 · 5 comments
Labels
area:Pages Pages API questions automation:Closed Needs: Attention 👋 Needs attention, after providing additional information status:investigating

Comments

@joewutaiwan
Copy link

Category

  • Question
  • Documentation issue
  • Bug

Hi all,

Symptom:

  1. Get file information encounter size is negative
    GET https://<user_domain>/_api/v2.0/drives/<drive_id>/items/<item_id>

  2. This drive is Wikipage library which is one of the document library in Share Point Online

  3. Download is fine for this file.

Response:

"name": "Home.aspx",
"file": {
        "hashes": {
            "quickXorHash": "YrWKTN7tmyGNyRicTMvDQltNmk0="
        },
        "irmEnabled": false,
        "mimeType": "application/xml"
    },
    ....
   "size": -425661

Header:

request-id →da46d69e-00c6-8000-12b2-435e588b9d2a
date →Thu, 25 Apr 2019 02:09:01 GMT

Thank you for further help.

@ghost
Copy link

ghost commented Apr 25, 2019

Thank you for your contribution to OneDrive API Docs. We will be triaging your incoming issue as soon as possible.

@ghost ghost added the Needs: Triage 🔍 Needs initial triage assessment label Apr 25, 2019
@JeremyKelley
Copy link
Contributor

Hi, thanks for reporting this issue. We'll need to investigate further.

Do you observe this with any other ASPX pages or other files or just this particular one?

@JeremyKelley JeremyKelley added Needs: Attention 👋 Needs attention, after providing additional information status:investigating and removed Needs: Triage 🔍 Needs initial triage assessment labels May 1, 2019
@joewutaiwan
Copy link
Author

Hi @JeremyKelley ,

I encountered this issue before.
#926

and the previous one is about onenote files

"name" : "Open Notebook.onetoc2",
"size" : -4783,

I do not observe any ASPX file with the issue, it is the first.
In other document library this ASPX file could be downloaded properly.

Thanks

@chackman
Copy link
Contributor

Thanks for your feedback; we're following up internally about this issue.

@chackman chackman added the area:Pages Pages API questions label Jan 13, 2020
@patrick-rodgers
Copy link
Contributor

As part of a repository clean up effort we are closing older issues. If this issue remains, please: open a new issue, reference this issue, and provide any additional details that may help in resolution. Thank you for your understanding as we work to improve our responsiveness.

@OneDrive OneDrive locked as resolved and limited conversation to collaborators Feb 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area:Pages Pages API questions automation:Closed Needs: Attention 👋 Needs attention, after providing additional information status:investigating
Projects
None yet
Development

No branches or pull requests

4 participants