Iām trying to download a file that I created via the API, but keep getting an SSL error. Note that I can download the same file successfully using the API Developer playground, providing just the file ID and my developer token. See curl output below:
$ curl -i -L "https://api.box.com/2.0/files/ [removed by moderator] /content" -H "authorization: Bearer <REDACTED_TOKEN>"
HTTP/2 302
date: Wed, 11 Mar 2026 12:55:49 GMT
x-envoy-upstream-service-time: 259
location: <REDACTED_LINK>
box-request-id: 07a3f1d1a260e4d0957df37044c38d148
cache-control: no-cache, no-store
strict-transport-security: max-age=31536000
via: 1.1 google
content-length: 0
alt-svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
curl: (35) error:0A000126:SSL routines::unexpected eof while reading
