Title: Pdfcrowd API Error 452
Last modified: October 28, 2019

---

# Pdfcrowd API Error 452

 *  Resolved [kdomagoj](https://wordpress.org/support/users/kdomagoj/)
 * (@kdomagoj)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/pdfcrowd-api-error-452/)
 * I’m getting repeated 452 errors while testing out the functionality of the plugin;
   
   I’ve added the shortcode inside the content as per documentation, see “The [save_as_pdf_pdfcrowd]
   shortcode places a button in the web page. Clicking the button downloads the 
   page as PDF.”
 * Ive switched between upload and development behaviours on the plugin setting 
   page and I’ve gotten the same error on both. I’m testing this on localhost. Is
   there a plugin setting / shortcode parameter I’ve missed? As per documentation,
   I thought sadding the shortcode inside the page content would suffice.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Pdfcrowd Dev Team](https://wordpress.org/support/users/pdfcrowd/)
 * (@pdfcrowd)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/pdfcrowd-api-error-452/#post-12106457)
 * Are you using some shortcode options?
 * Is the simple test working?
    <h2>Test Pdfcrowd</h2> [save_as_pdf_pdfcrowd]
 *  Plugin Author [Pdfcrowd Dev Team](https://wordpress.org/support/users/pdfcrowd/)
 * (@pdfcrowd)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/pdfcrowd-api-error-452/#post-12106479)
 * Please check if your php.ini allows opening URL by
    allow_url_fopen = On or allow_url_fopen
   = 1
 * [https://www.php.net/manual/en/filesystem.configuration.php](https://www.php.net/manual/en/filesystem.configuration.php)
 * Also check WordPress debug log for errors:
    [https://www.wpsecurityauditlog.com/wordpress-admin/enabling-wordpress-debug/](https://www.wpsecurityauditlog.com/wordpress-admin/enabling-wordpress-debug/)
 *  Thread Starter [kdomagoj](https://wordpress.org/support/users/kdomagoj/)
 * (@kdomagoj)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/pdfcrowd-api-error-452/#post-12106573)
 * using simple shortcode for initial testing and allow_url_fopen set to true (allow_url_fopen
   On).
 * Debug log issue found:
 * cURL error 6: Could not resolve host: localhost [https://localhost/pdftesting/](https://localhost/pdftesting/)
 *  Plugin Author [Pdfcrowd Dev Team](https://wordpress.org/support/users/pdfcrowd/)
 * (@pdfcrowd)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/pdfcrowd-api-error-452/#post-12107121)
 * Please check your /etc/hosts file for line:
    127.0.0.1 localhost [https://stackoverflow.com/a/55811756](https://stackoverflow.com/a/55811756)

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Pdfcrowd API Error 452’ is closed to new replies.

 * ![](https://ps.w.org/save-as-pdf-by-pdfcrowd/assets/icon-256x256.png?rev=3068846)
 * [Save as PDF Plugin by PDFCrowd](https://wordpress.org/plugins/save-as-pdf-by-pdfcrowd/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/save-as-pdf-by-pdfcrowd/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/save-as-pdf-by-pdfcrowd/)
 * [Active Topics](https://wordpress.org/support/plugin/save-as-pdf-by-pdfcrowd/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/save-as-pdf-by-pdfcrowd/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/save-as-pdf-by-pdfcrowd/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Pdfcrowd Dev Team](https://wordpress.org/support/users/pdfcrowd/)
 * Last activity: [6 years, 7 months ago](https://wordpress.org/support/topic/pdfcrowd-api-error-452/#post-12107121)
 * Status: resolved