Uploading files to licenses not working
Please confirm you have done the following before posting your bug report:
- [ YES ] I have enabled debug mode
- [ YES ] I have read checked the Common Issues page
Describe the bug Uploading a file to an existing license is not working. I get:
Error: Please check the form below for errors
Also the file browsing dialog does not filter the lic extension in Chrome. I have to switch from Custom Files to All Files to be able to select filename.lic Edge defaults to All Files.
To Reproduce Steps to reproduce the behavior:
- Go to Licenses
- Click on any license
- Press the upload button in the top right
- Try to upload a file (tested with .txt and .lic)
Expected behavior Upload the file and attach it to the license.
Screenshots




Server (please complete the following information):
- Snipe-IT Version: v4.6.3 - build 3866 (master)
- OS: Windows Server 2012
- Web Server: IIS 8.0
- PHP Version: 5.6.22
Desktop (please complete the following information):
- OS: Windows 10 1803
- Browser Chrome
- Version: 67.0.3396.99 (Official Build) (64-bit)
Error Messages
- WITH DEBUG TURNED ON, if you're getting an error in your browser, include that error
Only "Error: Please check the form below for errors"
- If a stacktrace is provided in the error, include that too.
N/A
- Any errors that appear in your browser's error console.
N/A
- Confirm whether the error is reproducible on the demo: https://snipeitapp.com/demo.
Yes, issue is reproducible on the demo.
- Include any additional information you can find in
storage/logsand your webserver's logs.
Nothing in storage/logs
#Date: 2018-08-17 07:13:48 #Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) cs(Referer) sc-status sc-substatus sc-win32-status time-taken 2018-08-17 07:13:48 SERVER-IP POST /licenses - 443 - MY-IP Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/67.0.3396.99+Safari/537.36 https://snipe-it.domain.local/licenses/create 302 0 0 2430 2018-08-17 07:13:48 SERVER-IP GET /licenses/create - 443 - MY-IP Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/67.0.3396.99+Safari/537.36 https://snipe-it.domain.local/licenses/create 200 0 0 620 2018-08-17 07:14:05 SERVER-IP POST /licenses - 443 - MY-IP Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/67.0.3396.99+Safari/537.36 https://snipe-it.domain.local/licenses/create 302 0 0 489 2018-08-17 07:14:05 SERVER-IP GET /licenses - 443 - MY-IP Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/67.0.3396.99+Safari/537.36 https://snipe-it.domain.local/licenses/create 200 0 0 490 2018-08-17 07:14:06 SERVER-IP GET /api/v1/licenses sort=name&order=asc&offset=0&limit=200 443 - MY-IP Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/67.0.3396.99+Safari/537.36 https://snipe-it.domain.local/licenses 200 0 0 480 2018-08-17 07:14:17 SERVER-IP GET /licenses/9/edit - 443 - MY-IP Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/67.0.3396.99+Safari/537.36 https://snipe-it.domain.local/licenses 200 0 0 820 2018-08-17 07:15:24 SERVER-IP GET /licenses - 443 - MY-IP Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/67.0.3396.99+Safari/537.36 https://snipe-it.domain.local/licenses/9/edit 200 0 0 990 2018-08-17 07:15:24 SERVER-IP GET /api/v1/licenses sort=name&order=asc&offset=0&limit=200 443 - MY-IP Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/67.0.3396.99+Safari/537.36 https://snipe-it.domain.local/licenses 200 0 0 710 2018-08-17 07:15:29 SERVER-IP GET /licenses/9 - 443 - MY-IP Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/67.0.3396.99+Safari/537.36 https://snipe-it.domain.local/licenses 200 0 0 779 2018-08-17 07:15:30 SERVER-IP GET /api/v1/licenses/9/seats sort=name&order=asc&offset=0&limit=200 443 - MY-IP Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/67.0.3396.99+Safari/537.36 https://snipe-it.domain.local/licenses/9 200 0 0 900 2018-08-17 07:15:30 SERVER-IP GET /api/v1/reports/activity item_id=9&item_type=license&order=desc&offset=0&limit=200 443 - MY-IP Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/67.0.3396.99+Safari/537.36 https://snipe-it.domain.local/licenses/9 200 0 0 650 2018-08-17 07:16:06 SERVER-IP POST /licenses/9/upload - 443 - MY-IP Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/67.0.3396.99+Safari/537.36 https://snipe-it.domain.local/licenses/9 302 0 0 1080 2018-08-17 07:16:06 SERVER-IP GET /licenses/9 - 443 - MY-IP Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/67.0.3396.99+Safari/537.36 https://snipe-it.domain.local/licenses/9 200 0 0 510 2018-08-17 07:16:08 SERVER-IP GET /api/v1/reports/activity item_id=9&item_type=license&order=desc&offset=0&limit=200 443 - MY-IP Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/67.0.3396.99+Safari/537.36 https://snipe-it.domain.local/licenses/9 200 0 0 620 2018-08-17 07:16:08 SERVER-IP GET /api/v1/licenses/9/seats sort=name&order=asc&offset=0&limit=200 443 - MY-IP Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/67.0.3396.99+Safari/537.36 https://snipe-it.domain.local/licenses/9 200 0 0 1020 2018-08-17 07:16:47 SERVER-IP POST /licenses/9/upload - 443 - MY-IP Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/67.0.3396.99+Safari/537.36 https://snipe-it.domain.local/licenses/9 302 0 0 979 2018-08-17 07:16:47 SERVER-IP GET /licenses/9 - 443 - MY-IP Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/67.0.3396.99+Safari/537.36 https://snipe-it.domain.local/licenses/9 200 0 0 480 2018-08-17 07:16:48 SERVER-IP GET /api/v1/licenses/9/seats sort=name&order=asc&offset=0&limit=200 443 - MY-IP Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/67.0.3396.99+Safari/537.36 https://snipe-it.domain.local/licenses/9 200 0 0 740 2018-08-17 07:16:48 SERVER-IP GET /api/v1/reports/activity item_id=9&item_type=license&order=desc&offset=0&limit=200 443 - MY-IP Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/67.0.3396.99+Safari/537.36 https://snipe-it.domain.local/licenses/9 200 0 0 440 2018-08-17 07:21:20 SERVER-IP POST /licenses/9/upload - 443 - MY-IP Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/67.0.3396.99+Safari/537.36 https://snipe-it.domain.local/licenses/9 302 0 0 740 2018-08-17 07:21:20 SERVER-IP GET /licenses/9 - 443 - MY-IP Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/67.0.3396.99+Safari/537.36 https://snipe-it.domain.local/licenses/9 200 0 0 440 2018-08-17 07:21:21 SERVER-IP GET /api/v1/reports/activity item_id=9&item_type=license&order=desc&offset=0&limit=200 443 - MY-IP Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/67.0.3396.99+Safari/537.36 https://snipe-it.domain.local/licenses/9 200 0 0 390 2018-08-17 07:21:21 SERVER-IP GET /api/v1/licenses/9/seats sort=name&order=asc&offset=0&limit=200 443 - MY-IP Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/67.0.3396.99+Safari/537.36 https://snipe-it.domain.local/licenses/9 200 0 0 870 2018-08-17 07:21:30 SERVER-IP POST /licenses/9/upload - 443 - MY-IP Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/67.0.3396.99+Safari/537.36 https://snipe-it.domain.local/licenses/9 302 0 0 300 2018-08-17 07:21:31 SERVER-IP GET /licenses/9 - 443 - MY-IP Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/67.0.3396.99+Safari/537.36 https://snipe-it.domain.local/licenses/9 200 0 0 350 2018-08-17 07:21:31 SERVER-IP GET /api/v1/reports/activity item_id=9&item_type=license&order=desc&offset=0&limit=200 443 - MY-IP Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/67.0.3396.99+Safari/537.36 https://snipe-it.domain.local/licenses/9 200 0 0 290 2018-08-17 07:21:31 SERVER-IP GET /api/v1/licenses/9/seats sort=name&order=asc&offset=0&limit=200 443 - MY-IP Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/67.0.3396.99+Safari/537.36 https://snipe-it.domain.local/licenses/9 200 0 0 560 2018-08-17 07:23:04 SERVER-IP POST /licenses/9/upload - 443 - MY-IP Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/67.0.3396.99+Safari/537.36 https://snipe-it.domain.local/licenses/9 302 0 0 290 2018-08-17 07:23:04 SERVER-IP GET /licenses/9 - 443 - MY-IP Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/67.0.3396.99+Safari/537.36 https://snipe-it.domain.local/licenses/9 200 0 0 340 2018-08-17 07:23:05 SERVER-IP GET /api/v1/licenses/9/seats sort=name&order=asc&offset=0&limit=200 443 - MY-IP Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/67.0.3396.99+Safari/537.36 https://snipe-it.domain.local/licenses/9 200 0 0 560 2018-08-17 07:23:05 SERVER-IP GET /api/v1/reports/activity item_id=9&item_type=license&order=desc&offset=0&limit=200 443 - MY-IP Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/67.0.3396.99+Safari/537.36 https://snipe-it.domain.local/licenses/9 200 0 0 370 2018-08-17 07:28:29 SERVER-IP GET /licenses/9 - 443 - MY-IP Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/67.0.3396.99+Safari/537.36 https://snipe-it.domain.local/licenses/9 200 0 0 6374 2018-08-17 07:28:31 SERVER-IP GET /favicon.ico - 443 - MY-IP Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/67.0.3396.99+Safari/537.36 https://snipe-it.domain.local/licenses/9 200 0 0 537 2018-08-17 07:28:31 SERVER-IP GET /api/v1/reports/activity item_id=9&item_type=license&order=desc&offset=0&limit=200 443 - MY-IP Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/67.0.3396.99+Safari/537.36 https://snipe-it.domain.local/licenses/9 200 0 0 1258 2018-08-17 07:28:32 SERVER-IP GET /api/v1/licenses/9/seats sort=name&order=asc&offset=0&limit=200 443 - MY-IP Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/67.0.3396.99+Safari/537.36 https://snipe-it.domain.local/licenses/9 200 0 0 2277 2018-08-17 07:28:44 SERVER-IP POST /licenses/9/upload - 443 - MY-IP Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/67.0.3396.99+Safari/537.36 https://snipe-it.domain.local/licenses/9 302 0 0 2043 2018-08-17 07:28:44 SERVER-IP GET /licenses/9 - 443 - MY-IP Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/67.0.3396.99+Safari/537.36 https://snipe-it.domain.local/licenses/9 200 0 0 758 2018-08-17 07:28:47 SERVER-IP GET /api/v1/reports/activity item_id=9&item_type=license&order=desc&offset=0&limit=200 443 - MY-IP Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/67.0.3396.99+Safari/537.36 https://snipe-it.domain.local/licenses/9 200 0 0 778 2018-08-17 07:28:47 SERVER-IP GET /api/v1/licenses/9/seats sort=name&order=asc&offset=0&limit=200 443 - MY-IP Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/67.0.3396.99+Safari/537.36 https://snipe-it.domain.local/licenses/9 200 0 0 1145 2018-08-17 07:30:51 SERVER-IP POST /licenses/9/upload - 443 - MY-IP Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/67.0.3396.99+Safari/537.36 https://snipe-it.domain.local/licenses/9 302 0 0 530 2018-08-17 07:30:52 SERVER-IP GET /licenses/9 - 443 - MY-IP Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/67.0.3396.99+Safari/537.36 https://snipe-it.domain.local/licenses/9 200 0 0 610 2018-08-17 07:30:54 SERVER-IP GET /api/v1/reports/activity item_id=9&item_type=license&order=desc&offset=0&limit=200 443 - MY-IP Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/67.0.3396.99+Safari/537.36 https://snipe-it.domain.local/licenses/9 200 0 0 610 2018-08-17 07:30:54 SERVER-IP GET /api/v1/licenses/9/seats sort=name&order=asc&offset=0&limit=200 443 - MY-IP Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/67.0.3396.99+Safari/537.36 https://snipe-it.domain.local/licenses/9 200 0 0 1210 2018-08-17 07:35:52 SERVER-IP POST /licenses/9/upload - 443 - MY-IP Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/67.0.3396.99+Safari/537.36 https://snipe-it.domain.local/licenses/9 302 0 0 590 2018-08-17 07:35:52 SERVER-IP GET /licenses/9 - 443 - MY-IP Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/67.0.3396.99+Safari/537.36 https://snipe-it.domain.local/licenses/9 200 0 0 640 2018-08-17 07:35:54 SERVER-IP GET /api/v1/licenses/9/seats sort=name&order=asc&offset=0&limit=200 443 - MY-IP Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/67.0.3396.99+Safari/537.36 https://snipe-it.domain.local/licenses/9 200 0 0 1180 2018-08-17 07:35:54 SERVER-IP GET /api/v1/reports/activity item_id=9&item_type=license&order=desc&offset=0&limit=200 443 - MY-IP Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/67.0.3396.99+Safari/537.36 https://snipe-it.domain.local/licenses/9 200 0 0 820
Additional context
- Is this a fresh install or an upgrade?
Upgrade
- What OS and web server you're running Snipe-IT on
See above
- What method you used to install Snipe-IT (install.sh, manual installation, docker, etc)
Manual install to Git upgrade to Git update
- Include what you've done so far in the installation, and if you got any error messages along the way.
- Indicate whether or not you've manually edited any data directly in the database
No
Is this still relevant? We haven't heard from anyone in a bit. If so, please comment with any updates or additional detail. This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Don't take it personally, we just need to keep a handle on things. Thank you for your contributions!
This issue has been automatically closed because it has not had recent activity. If you believe this is still an issue, please confirm that this issue is still happening in the most recent version of Snipe-IT and reply to this thread to re-open it.
I can confirm this is still potentially a bug. Funnily enough, I'm trying to upload the same file (veeam licence). The file is just xml and renaming the extension to txt doesn't help.
Server (please complete the following information):
Snipe-IT version | v4.6.6 build 3926 (g1a10aa0dd) PHP Version | 7.1.24 Laravel Version | 5.4.35
Desktop OS: Windows 10 1803 Browser Vivaldi 2.1.1337.51 (Stable channel) (64-bit)
Additional context
Is this a fresh install or an upgrade? Fresh
What OS and web server you're running Snipe-IT on CentOS 7 with Apache
What method you used to install Snipe-IT (install.sh, manual installation, docker, etc) Manual install to Git upgrade to Git update
Include what you've done so far in the installation, and if you got any error messages along the way. Indicate whether or not you've manually edited any data directly in the database The install guide was followed. Nothing else on this server. No DB or even file edits other than the guide. Has only been running for a couple of weeks as a PoC.
It’s doing a check on the mime type, not the extension
PS C:\temp> file --mime-type veeam_licence.txt
veeam_licence.txt: text/xml
What are the supported mime types? The upload dialogue also states that only certain file types are allowed rather than mime-types.

I also don't see any mention of mime types in the doco https://snipe-it.readme.io/v4.6.3/search?q=mime%20type
The upload dialogue also states that only certain file types are allowed rather than mime-types.
Mime types are what determines the file type... I'm not sure what you're asking here.
What I'm asking is why can't I upload this file?
You say that the mime type is what determines if the file can be uploaded, so I got you the mime type of the failed upload.
veeam_licence.txt: text/xml
Because XML is not allowed. You can rename things to whatever you want, but it doesn't change their mime type, and therefore doesn't change the kind of file it is. If I rename foo.jpg to foo.doc, it doesn't automagically become a MS Word file. It's a jpg with the wrong extension.
I've updated develop to allow XML, but it's behaving as expected.
Thank you. I'll update and test over the weekend.
develop isn't currently stable, so I wouldn't necessarily recommend that. This change will be in v5 though.
Any chance you could link to the commit? I've had a look but don't see it. That's probably because I'm not great with GitHub more than anything.
We just about always link to commits that are meant to resolve specific issue. You can find them in the thread convo.
https://github.com/snipe/snipe-it/commit/394d265b96df4c7afd34e82916cd0467085133a1
Appears this is still a bug. Can not upload a PDF to Licenses. "Error: Please check the form below for errors" There is no form below with errors, so this is not helpful. Debug mode shows nothing else further. File is well under limit, and is of the supported type (shows green when selected).
@ebonweaver I can't reproduce this on the demo. https://demo.snipeitapp.com/licenses/2#uploads
@snipe I can. Same exact issue, same lack of any error information. Tested Mac and Windows. Tested 4.6.3 and now freshly updated to 4.6.12, and on demo.
Also tested both Chrome and Firefox, same problem, seems universal, puzzling that you can't reproduce it. Any way to get the software to actually report the error?
@snipe Just had a random idea and tested. Opened PDF in Preview on Mac, exported as new PDF. That file uploads fine. Seems that the Snipe-IT uploader has a problem with PDF files made by the Adobe plugin on Windows at the very least, further tests would be needed to figure out all formats/versions that have compatibility issues. Unclear why this would be a problem, but given Adobe is kinda the source of PDF this seems like a problem that should be fixed.
That’s interesting info. We validate on the mime type itself, so it seems like maybe that plugin is doing something weird with the mime type?
Indeed, considering I assume the text turns green when you select the file and it performs the validation on the mime type. Hence, it thinks it's just fine, but then fails to upload it for some reason. I know PDF can have a wide range of features in them, looks like something more high end from the Adobe format may be blowing it up?
For what it's worth, just ran into this issue myself that was referenced in above comment #463825993 from Feb 14. Near-identical circumstance: uploading PDF to license page, no errors appearing in the log, etc. Other PDFs uploaded fine, but one was giving me trouble.
Server: Snipe-IT Version: v4.6.15 - build 4011 (master) OS: Ubuntu Server 18.04.2 Web Server: Apache 2.4.29 PHP: 7.2.15
Desktop: OS: Mac OS 10.13.6 Browser: Chrome Version: 73.0.3683.103
My issue was that the PDF that was causing issues was auto-generated as a receipt by the software company and after investigation appeared to be created with XML. Can confirm that flattening the PDF in either Acrobat or an alternative PDF program (I'm using PDF Expert at work) strips the XML from the doc and then the new document uploads perfectly fine. Sounds like if the capability to upload XML is in v5 then it should resolve this issue.