<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>uzimith</author_name>
  <author_url>https://blog.hatena.ne.jp/uzimith/</author_url>
  <blog_title>Legalscapeテックブログ</blog_title>
  <blog_url>https://tech.legalscape.co.jp/</blog_url>
  <categories>
    <anon>PDF</anon>
  </categories>
  <description>こんにちは、Legalscape コンテンツバリューチームでエンジニアをしている清水です。 Legalscape では書籍の PDF を大量に扱っており、指定したページを切り出して返す PDF 抽出のエンドポイントを Node.js のバックエンドで動かしています。 ここで使っているのが pdf-lib です。 ある入稿書籍で、この抽出処理が落ちる不具合が起きました。 エラーメッセージだけを見ると pdf-lib のバグに見えます。 しかし調べていくと、原因は別のところにありました。 この記事では、その調査の過程をたどります。 起きたエラー 抽出エンドポイントが、特定の書籍でだけ次のエラーを出…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.legalscape.co.jp%2Fentry%2F2026%2F07%2F16%2F140707&quot; title=&quot;Adobe Acrobat で直らない「壊れた PDF」 - Legalscapeテックブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-07-16 14:07:07</published>
  <title>Adobe Acrobat で直らない「壊れた PDF」</title>
  <type>rich</type>
  <url>https://tech.legalscape.co.jp/entry/2026/07/16/140707</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
