Title: Files Exported from Indesign Producing Error Code
Last modified: November 14, 2024

---

# Files Exported from Indesign Producing Error Code

 *  [pcantos](https://wordpress.org/support/users/pcantos/)
 * (@pcantos)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/files-exported-from-indesign-producing-error-code/)
 * We have continuously been receiving a “bad end offset” error code when trying
   to embed PDFs onto our website.
 * We have cleared the cache, disabled all plug-ins and then enabled one-by-one 
   to try and isolate a conflict with no success. We have uploaded various PDFs 
   and a common factor seems to be that PDFs where designs where created in InDesign
   produce this error code, while PDFs exported from Illustrator seem to function
   just fine.
 * We have tested out various file sizes, reducing PDF size with no success. We 
   even tried to open the PDF exported from Indesign, reopen in Illustrator, and
   export from Illustrator, but it still produced an error code.
 * Our site is hosted through Pantheon and my technical knowledge is limited to 
   push plugins from dev > test > live and then managing content through WordPress.
   Any insight would be greatly appreciate.
   Thank you
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffiles-exported-from-indesign-producing-error-code%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [DearHive](https://wordpress.org/support/users/dearhive/)
 * (@dearhive)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/files-exported-from-indesign-producing-error-code/#post-18137445)
 * Hi,
 * We checked the page and do not see any flipbook or PDF that we could use to check
   the issue.
   Could you point us to the flipbook or the PDF file for us to investigate?
 * Best Regards,
   DearHive
 *  Thread Starter [pcantos](https://wordpress.org/support/users/pcantos/)
 * (@pcantos)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/files-exported-from-indesign-producing-error-code/#post-18138914)
 * Hello [@dearhive](https://wordpress.org/support/users/dearhive/) ,
 * Sorry about that. Looks like it was removed by a colleague. I’ve readded just
   above the footer.
 * Thank you
 * This is the PDF it should load: [https://seis.ucla.edu/wp-content/uploads/2024/11/EDISMag-Fall24-Final-ReducedSize-PDF.pdf](https://seis.ucla.edu/wp-content/uploads/2024/11/EDISMag-Fall24-Final-ReducedSize-PDF.pdf)
    -  This reply was modified 1 year, 6 months ago by [pcantos](https://wordpress.org/support/users/pcantos/).
 *  Plugin Author [DearHive](https://wordpress.org/support/users/dearhive/)
 * (@dearhive)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/files-exported-from-indesign-producing-error-code/#post-18139043)
 * Hi,
 * We tried hosting your PDF in our site. It is working fine [https://wordpress.dearflip.com/edismag-fall24-final-reducedsize-pdf/](https://wordpress.dearflip.com/edismag-fall24-final-reducedsize-pdf/)
 * We also tested in Firefox, flipbook is working fine in your site too.
 * The problem is when the file in hosted in your environment and viewed with chrome.
 * We will do more research and get back to you in few days. 
   Best Regards,DearHive
 *  Thread Starter [pcantos](https://wordpress.org/support/users/pcantos/)
 * (@pcantos)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/files-exported-from-indesign-producing-error-code/#post-18139560)
 * Hi [@dearhive](https://wordpress.org/support/users/dearhive/),
 * FYI, that we changed the page where the PDF is embedded to here: [https://seis.ucla.edu/ucla-edis-magazine-archive/](https://seis.ucla.edu/ucla-edis-magazine-archive/)
 * We the previous page was a destination for an email campaign launching today 
   and so, we didn’t want an error code there.
 * Thank you
 *  Thread Starter [pcantos](https://wordpress.org/support/users/pcantos/)
 * (@pcantos)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/files-exported-from-indesign-producing-error-code/#post-18152368)
 * Hi [@dearhive](https://wordpress.org/support/users/dearhive/),
 * Checking to see if anything was found in your extended research?
 * Thank you
 *  Plugin Author [DearHive](https://wordpress.org/support/users/dearhive/)
 * (@dearhive)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/files-exported-from-indesign-producing-error-code/#post-18153194)
 * Hi [@pcantos](https://wordpress.org/support/users/pcantos/) ,
 * So far we have found that it is due to cache issue of partial content. PDF.js
   team says this is chrome bug – and they have a workaround to disable partial 
   content(loading). We have a solution here which disable cache so that partial
   loading works but not the cache:
   [https://wordpress.dearflip.com/docs/pdf-not-loading/#1-toc-title](https://wordpress.dearflip.com/docs/pdf-not-loading/#1-toc-title)
 * We would love to have a solution without disabling the partial content. We will
   keep looking but it looks like using nginx to serve PDF has this issue. Apache
   is better at partial content, so if nginx is just a proxy to Apache, we suggest
   not to proxy for pdf and let Apache serve PDFs.
 * This issue doesn’t occur when the chrome browser fetches the PDF for the first
   time(try in incognito mode it works for first-time). First time it works as intended.
   Second time when browser tries to use the old cache of the partial content, it
   mismatches with what the nginx server responds and a bad offset is detected.
 * Best Regards,
   DearHive

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

The topic ‘Files Exported from Indesign Producing Error Code’ is closed to new replies.

 * ![](https://ps.w.org/3d-flipbook-dflip-lite/assets/icon-128x128.gif?rev=3175518)
 * [DearFlip - PDF Flipbook, 3D Flipbook, PDF embed, PDF viewer](https://wordpress.org/plugins/3d-flipbook-dflip-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/3d-flipbook-dflip-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/3d-flipbook-dflip-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/3d-flipbook-dflip-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/3d-flipbook-dflip-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/3d-flipbook-dflip-lite/reviews/)

## Tags

 * [error code](https://wordpress.org/support/topic-tag/error-code/)
 * [pdf](https://wordpress.org/support/topic-tag/pdf/)

 * 6 replies
 * 2 participants
 * Last reply from: [DearHive](https://wordpress.org/support/users/dearhive/)
 * Last activity: [1 year, 6 months ago](https://wordpress.org/support/topic/files-exported-from-indesign-producing-error-code/#post-18153194)
 * Status: not resolved