olcli icon indicating copy to clipboard operation
olcli copied to clipboard

[Bug] `olcli pdf` fails to download PDF with 404 Not Found

Open boldidev opened this issue 6 months ago • 3 comments

What happened?

$ olcli pdf
✖ Failed: Download failed: 404

Expected behavior

Get Overleaf to compile a PDF then download it to my system into the current directory.

Steps to reproduce

  1. olcli pull 'any project'
  2. olcli pdf
  3. Get 404

Environment

  • OS: Linux 6.12.85
  • Version: olcli version 0.3.0 (from NPM)

boldidev avatar May 12 '26 13:05 boldidev

I assume this is due to an Overleaf API change?

boldidev avatar May 12 '26 13:05 boldidev

Fixed in v0.3.1 — thanks for the clear report @boldidev! 🙏

olcli pdf and olcli output <type> now work again. Upgrade with npm install -g @aloth/[email protected] (or brew upgrade olcli once the bottle catches up).

aloth avatar May 18 '26 14:05 aloth

Seems to also fix subfolder uploads, great! -- I just found out that was broken too.

boldidev avatar May 19 '26 12:05 boldidev