Skip to main content
Question

How to provide access to user using Box API?

  • May 22, 2025
  • 1 reply
  • 35 views

Forum|alt.badge.img

I m using https://api.box.com/2.0/collaborations API for providing access to users. But i m getting below error - {"type":"error","status":403,"code":"forbidden_by_policy","context_info":{"policy_source":["shield"],"policies":[{"source":"shield","type":"access_policy","message":"Blocked by Shield Access Policy"}]},"help_url":"http:\/\/developers.box.com\/docs\/#errors","message":"Access denied by Shield policy"}

Can someone help me with this error?

1 reply

Forum|alt.badge.img

Hi

From the error it is most likely your admin has configured a shield access policy on the folder from where you are trying to provide access to users. Box Shield allows further restrictions above normal permissions based classification and the error message your are seeing is caused by one of these access policies. You need to check with the owner or admin as there is a security feature. 

Rgds,

Peter Christensen, Platform Solutions Engineer, Box