You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are trying to upload a document via API. This document is stored in SharePoint, and what we are trying to do is take the base64, convert it to binary, and pass it to Snipe IT via the body of the HTTP request.
The problem arises when we open the PDF that arrives at SnipeIT and see that it looks just like my head right now: blank... :(
In binary, it has about 65,000 bytes and the document size is 65.6kb, but when I download it from SnipeIT, it's 127kb. I don't know if it's the method I'm using, and I'm looking for some guidance. I've consulted the API documentation, but I still can't find the key. Any help would be greatly appreciated.
Have a great day!
What browsers are you seeing the problem on?
Microsoft Edge
Application log output
Browser console output
Common Issues
I have searched this repo for existing issues related to my issue (including closed issues)
My APP_URL is set correctly in my .env file (including http or https and no trailing slash)
I have searched the official Snipe-IT documentation and have checked the Common Issues documentation (where applicable)
I have run database migrations (where applicable).
I have attached screenshots and/or videos of the issue (where applicable)
This discussion was converted from issue #17856 on September 12, 2025 16:50.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Snipe-IT Version
v8.3.1
MySQL/MariaDB version
8.3.23
How did you install Snipe-IT?
Hosted by Grokability
What happened?
We are trying to upload a document via API. This document is stored in SharePoint, and what we are trying to do is take the base64, convert it to binary, and pass it to Snipe IT via the body of the HTTP request.
The problem arises when we open the PDF that arrives at SnipeIT and see that it looks just like my head right now: blank... :(
In binary, it has about 65,000 bytes and the document size is 65.6kb, but when I download it from SnipeIT, it's 127kb. I don't know if it's the method I'm using, and I'm looking for some guidance. I've consulted the API documentation, but I still can't find the key. Any help would be greatly appreciated.
Have a great day!
What browsers are you seeing the problem on?
Microsoft Edge
Application log output
Browser console output
Common Issues
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions