Title: PDF file upload failed
Last modified: October 9, 2017

---

# PDF file upload failed

 *  Resolved [byoriginaldesign](https://wordpress.org/support/users/byoriginaldesign/)
 * (@byoriginaldesign)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/pdf-file-upload-failed/)
 * When clicking **Upload & Attach a PDF File** it appears that the file uploads
   properly, as the file does display with ID and it appears to start moving forward
   to getting tags, but it then displays **file upload failed** in red at the top,
   and if you attempt to get tags again, it tries for a few seconds and then displays**
   file upload failed** again.
 * I tried renaming the file, a reduced sized different PDF, but had same results.

Viewing 15 replies - 1 through 15 (of 21 total)

1 [2](https://wordpress.org/support/topic/pdf-file-upload-failed/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/pdf-file-upload-failed/page/2/?output_format=md)

 *  Plugin Author [maximum.software](https://wordpress.org/support/users/maximumsoftware/)
 * (@maximumsoftware)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/pdf-file-upload-failed/#post-9571191)
 * I’m sorry you are having difficulties.
 * Can you try the following file?
    [http://help.adobe.com/en_US/Acrobat/9.0/Samples/interactiveform_enabled.pdf](http://help.adobe.com/en_US/Acrobat/9.0/Samples/interactiveform_enabled.pdf)
 * Can you send me your phpinfo() output?
 * I believe this issue is related to uploading of the file from your web server
   to the API server. I’m not entirely sure what is causing this. It would help 
   me debug the issue if you can give me access to your WP installation (email [admin@maximum.software](https://wordpress.org/support/topic/pdf-file-upload-failed/admin@maximum.software?output_format=md)).
 *  [michielkleinhorsman](https://wordpress.org/support/users/michielkleinhorsman/)
 * (@michielkleinhorsman)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/pdf-file-upload-failed/#post-9618440)
 * Goodmorgning,
 * I got the same problems. But the [http://help.adobe.com/en_US/Acrobat/9.0/Samples/interactiveform_enabled.pdf](http://help.adobe.com/en_US/Acrobat/9.0/Samples/interactiveform_enabled.pdf)
   works fine.
 * Can you help me?
 *  Plugin Author [maximum.software](https://wordpress.org/support/users/maximumsoftware/)
 * (@maximumsoftware)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/pdf-file-upload-failed/#post-9620025)
 * Sure thing. It looks like the problem is related to something with the PDF file.
   Please send it to my email (admin at maximum dot software).
 *  Plugin Author [maximum.software](https://wordpress.org/support/users/maximumsoftware/)
 * (@maximumsoftware)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/pdf-file-upload-failed/#post-9620848)
 * I can confirm there is a problem with large PDF files, I am working on a fix 
   which I will deploy in a few hours.
 *  Plugin Author [maximum.software](https://wordpress.org/support/users/maximumsoftware/)
 * (@maximumsoftware)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/pdf-file-upload-failed/#post-9621485)
 * The issue is resolved. The problem was with error reporting.
 * Maximum file size allowed with the Pdf.Ninja API is 2 MiB (if you are on the 
   free tier). The PRO tier allows PDF file sizes up to 32 MiB.
 * If you are trying to use a PDF file that is larger than the above limits, you
   will now get a more user friendly error message.
 * I recommend minimizing PDF file sizes as much as possible because it will decrease
   the size of your email messages as well as speed up form submissions on your 
   site.
 *  [johndehnel](https://wordpress.org/support/users/johndehnel/)
 * (@johndehnel)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/pdf-file-upload-failed/#post-10104494)
 * I’m having trouble uploading a pdf file as new media. The browser finds the file
   on my operation system, but then throws up an http error message and goes to 
   a “Hmmm… cannot reach this page” screen. Using MS Edge browser. Uploading a 5.8MB
   file – permitted 64MB. Smaller (50KB) files work fine.
    -  This reply was modified 8 years, 1 month ago by [johndehnel](https://wordpress.org/support/users/johndehnel/).
 *  Plugin Author [maximum.software](https://wordpress.org/support/users/maximumsoftware/)
 * (@maximumsoftware)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/pdf-file-upload-failed/#post-10104544)
 * What version of MS Edge are you using?
 * Regarding file size, the free tier on Pdf.Ninja API has a limit of 2 MB, so, 
   you are going to have issues with that unless you have the pro key.
    -  This reply was modified 8 years, 1 month ago by [maximum.software](https://wordpress.org/support/users/maximumsoftware/).
 *  Plugin Author [maximum.software](https://wordpress.org/support/users/maximumsoftware/)
 * (@maximumsoftware)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/pdf-file-upload-failed/#post-10111106)
 * I am unable to reproduce this with any version of MS Edge. It is possible some
   other plugins might be causing your problem. Or it may be something obscure, 
   I am not sure. If you like, I can access your wp-admin and try to debug it.
 *  [johndehnel](https://wordpress.org/support/users/johndehnel/)
 * (@johndehnel)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/pdf-file-upload-failed/#post-10112230)
 * Thanks. Problem overcome. I tried it when at a venue with better internet speeds,
   and had no problem. It was probably that my download speed at home is so poor
   it was timing out. Thanks for the suggestion I might need to up the PHP max execution
   time
    [http://php.net/manual/en/info.configuration.php#ini.max-execution-time](http://php.net/manual/en/info.configuration.php#ini.max-execution-time).
   I’ll keep that tip for next time I want a larger download while at home.
 *  Plugin Author [maximum.software](https://wordpress.org/support/users/maximumsoftware/)
 * (@maximumsoftware)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/pdf-file-upload-failed/#post-10113095)
 * Good to hear.
 * Usually uploads to the API server are quick because they are done from the web
   server which usually has a fast connection. So, max_execution_time is probably
   not your problem. I think the upload_max_filesize and post_max_size settings 
   are more relevant in your case. However, I can’t see how they can cause the browser
   to go to another page because the file upload is an AJAX POST. I am still not
   sure what’s going on here.
 *  [yapjfq](https://wordpress.org/support/users/yapjfq/)
 * (@yapjfq)
 * [8 years ago](https://wordpress.org/support/topic/pdf-file-upload-failed/#post-10193650)
 * As a trial run a week ago, I uploaded and inserted a pdf file in a page on a 
   WordPress site that I am developing. It works exactly as required. But when I
   tried again yesterday and this morning, nothing happened.
    I can upload pdf files
   from my computer and they go to my Media Library. There I click on the file and“
   Insert into page” but nothing happens – no error message, no visible change on
   the page in the dashboard, no change in the page on the actual site when I refresh
   it. I tried to insert on another page the file that I uploaded and inserted last
   week – but again, no result at all. I have looked at all the relevant WP Beginner
   and WordPress.org guidance pages that I can find, and not found anything that
   was any help. What can I do about this?
    -  This reply was modified 8 years ago by [yapjfq](https://wordpress.org/support/users/yapjfq/).
 *  [yapjfq](https://wordpress.org/support/users/yapjfq/)
 * (@yapjfq)
 * [8 years ago](https://wordpress.org/support/topic/pdf-file-upload-failed/#post-10193683)
 * In the fifth line of my request (above), I wrote “no error file.” That should
   be “no error message.”
 *  [yapjfq](https://wordpress.org/support/users/yapjfq/)
 * (@yapjfq)
 * [8 years ago](https://wordpress.org/support/topic/pdf-file-upload-failed/#post-10193685)
 * As a trial run a week ago, I uploaded and inserted a pdf file in a page on a 
   WordPress site that I am developing. It works exactly as required. But when I
   tried again yesterday and this morning, nothing happened.
    I can upload pdf files
   from my computer and they go to my Media Library. There I click on the file and“
   Insert into page” but nothing happens – no error message, no visible change on
   the page in the dashboard, no change in the page on the actual site when I refresh
   it. I tried to insert on another page the file that I uploaded and inserted last
   week – but again, no result at all. I have looked at all the relevant WP Beginner
   and WordPress.org guidance pages that I can find, and not found anything that
   was any help. What can I do about this?
 *  Plugin Author [maximum.software](https://wordpress.org/support/users/maximumsoftware/)
 * (@maximumsoftware)
 * [8 years ago](https://wordpress.org/support/topic/pdf-file-upload-failed/#post-10195120)
 * Are you trying to insert PDF files on WordPress pages or Contact Forms 7 forms?
   It sounds like you are not using Contact Form 7 to do this. There is no button
   with a caption ‘Insert into page’ in this plugin. You have to use the ‘PDF Form’
   button in Contact Form 7 edit interface to add a PDF form onto your CF7 form.
 *  [yapjfq](https://wordpress.org/support/users/yapjfq/)
 * (@yapjfq)
 * [8 years ago](https://wordpress.org/support/topic/pdf-file-upload-failed/#post-10195207)
 * Thank you for your reply but I don’t entirely understand it. Are you saying I
   should or I shouldn’t use a Contact Form 7 if I want to insert pdf files?
    Last
   week I inserted a pdf file on a WordPress page, and my question was why I am 
   unable to do so now. I have to admit that previously I faced the same problem
   with that page and that file as now, and I don’t know how it came to be resolved,
   if only for a few days. So can you please clarify your advice? Thank you in advance.
   Tom

Viewing 15 replies - 1 through 15 (of 21 total)

1 [2](https://wordpress.org/support/topic/pdf-file-upload-failed/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/pdf-file-upload-failed/page/2/?output_format=md)

The topic ‘PDF file upload failed’ is closed to new replies.

 * ![](https://ps.w.org/pdf-forms-for-contact-form-7/assets/icon.svg?rev=2670251)
 * [PDF Forms Filler for CF7](https://wordpress.org/plugins/pdf-forms-for-contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pdf-forms-for-contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pdf-forms-for-contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/pdf-forms-for-contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pdf-forms-for-contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pdf-forms-for-contact-form-7/reviews/)

## Tags

 * [upload failed](https://wordpress.org/support/topic-tag/upload-failed/)

 * 21 replies
 * 5 participants
 * Last reply from: [yapjfq](https://wordpress.org/support/users/yapjfq/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/pdf-file-upload-failed/page/2/#post-10196325)
 * Status: resolved