Skip to main content
Question

Box Preflight Check API call returning 405 Method Not Allowed

  • May 22, 2025
  • 2 replies
  • 26 views

Forum|alt.badge.img

I'm doing some testing involving the Preflight check endpoint, and while it was working previously I'm now getting a 405 Method Not Allowed error response. The call I'm making hasn't changed and still matches the current documentation (https://developer.box.com/reference#preflight-check), so I'm curious as to whether there have been any changes to the endpoint, as the error seems to suggest there's an issue with using the OPTIONS HTTP method with https://api.box.com/2.0/files/content.

2 replies

Forum|alt.badge.img

Hi ,

 

I just ran a test and it looks like I'm not seeing issues with the preflight endpoint - it seems to be returning data correctly. Are you able to make other calls against different endpoints? 

 

If it's still an ongoing issue and you're able to make other API calls would you mind sharing the code that you're running when you get that error. I can try to reproduce.

 

Thanks,

Jon 


Forum|alt.badge.img

Hi Jon,

 

After looking into the problem further, we've realised there was an issue our side setting the cURL custom request method. All working now.

 

Thanks