Skip to main content
Question

Head Request (BOX Public URL) Giving 404 Error

  • May 22, 2025
  • 3 replies
  • 24 views

Forum|alt.badge.img

BOX1_5jVEN_hPX8J_FjQQ5nU_-g.png

3 replies

Forum|alt.badge.img

Hello, 

From the screenshot, it looks like you are not hitting one our published API endpoints? Can you tell me what you are trying to do? 

Thanks, 

Alex, Box Developer Advocate


Forum|alt.badge.img

any solution???


Forum|alt.badge.img

I have the same issue. With other file hosting platforms we can use HEAD requests and check the Content-Type header to confirm URLs are valid and are going to serve a PDF or PNG images. This avoids having to use a GET request and the time involved to download the image. We process 10K's orders per day and we rely on HEAD requests to quickly confirm if order content and image URLs submitted are valid. This avoids extra time involved with GET to download images and validate.

HEAD requests for Box image URLs return a 404 instead of responding with a 200 and a Content-Type header.

Can the Box platform be configured to support HEAD requests for public URLs?