get-archive-link API returns 403 when making request from node

I’m trying to use the get-archive-link API to download a repo from GitHub, if I use curl/httpie/a browser the link works fine, but if I use request in node.js with the exact same URL, then I get an 403. Does the api have some sort of limit on the usage?

Hi @ewanharris,

A 403 error usually denotes “Permission Denied” on a file. Are you trying to get the archive of a private repository?