Skip to main content
Question

"Method Not Allowed" error happening recently

  • May 21, 2025
  • 3 replies
  • 6 views

Forum|alt.badge.img
{"type":"error","status":405,"code":"method_not_allowed","help_url":"http:\/\/developers.box.com\/docs\/#errors","message":"Method Not Allowed","request_id":"removed for privacy0572b9b75e672d"}
 Everything worked great for weeks, then suddenly this started happening today. 

3 replies

Forum|alt.badge.img

 Thanks for the heads up. Which API endpoint is returning this error?


Forum|alt.badge.img

We recently started seeing this too.  Its a quiet section of our code so not sure how long it would have been latent.

The endpoint we see it on is making a share link, eg a PUT request to /files/$fileID with body

'body'         => '{"shared_link": {"access": "open", "unshared_at": "'.$edt->format(DateTime::RFC3339).'", "permissions": {"can_download":true}}}',

 


Forum|alt.badge.img

Any answer to this?  I'm seeing the same issue/behavior.