Skip to main content
Question

API [Content] - 403 when get access token

  • May 22, 2025
  • 2 replies
  • 16 views

Forum|alt.badge.img


Hi,

I have a developer account and a custom app.
I am trying to get the root folder by access token but I get a 403 error.
Error description:{"error":"access_denied","error_description":"Access denied"}
Error detail:

{Transfer-Encoding=[chunked], null=[HTTP/1.1 403 Forbidden], Strict-Transport-Security=[max-age=31536000], Cache-Control=[no-store], Connection=[keep-alive] , Set-Cookie=[site_preference=mobile; path=/;
domain=.box.com; secure, cn=50; expires=Wed, 14-Jul-2021 03:51:49 GMT; Max-Age=31536000; path=/; domain=.app.box.com; secure, bv=OPS-43829; expires=Tue, 21-Jul-2020 03:51:49 GMT; Max-Age=604800; path=/;
domain=.app.box.com; secure, box_visitor_id=5f0d2bd551b3f6.03480720; expires=Wed, 14-Jul-2021 03:51:49 GMT; Max-Age=31536000; path=/; domain=.box.com; secure], Date=[Tue, 14 Jul 2020 03:51:49 GMT],
Content-Type=[application/json]}

 

these errors occured at the following time(PDT):
2020-07-13 20:51:49
2020-07-13 20:52:24
2020-07-13 20:54:04
2020-07-13 20:54:24
2020-07-13 20:59:32
2020-07-13 20:04:10
2020-07-28 17:25:41(box_visitor_id=5f20c205c1d448.77611404)

but sometimes i can get the access token successfully,May i know what caused the error and how to solve this problem.
Thanks a lot and look forward to hearing from you soon.

2 replies

Forum|alt.badge.img

Hi there, can you share any of your code? This doesn't give me much info about your setup.


Forum|alt.badge.img
Thanks Reply.
 
But I'm sorry that it may not be convenient for me to provide related codes. 
Could you analyze it through log by box_visitor_id(box_visitor_id=5f20c205c1d448.77611404) 
I think it will probably provide some help.