Skip to main content

While accessing the folder information getting this error "invalid_parameter


  • Participating Frequently
  • 6 replies

I am trying to get the some folder information from my box folder but when I am executing the code getting this error

“{“type”:“error”,“status”:404,“code”:“not_found”,“context_info”:{“errors”:[{“reason”:“invalid_parameter”,“name”:“item”,“message”:“Invalid value ‘d_167383943946’. ‘item’ with value ‘d_167383943946’ not found”}]},“help_url”:“http://developers.box.com/docs/#errors”,“message”:“Not Found”,“request_id”:“dlcl7ahjegv6pt82”}”


I’ve even searched in the box support and found the same error ( Not able to get folder info using access token - SDKs & Tools / Python - Box Developer Community and followed the same but those guidelines mentioned in that chat is not supported by our organization. can anyone help me on this error.

2 replies

CodeBoxSeb
  • Participating Frequently
  • 58 replies
  • October 31, 2023

Hi @user57 🙂


The 404 error could be due to a missing permission.

Can you check this page : https://developer.box.com/reference/get-folders-id/ ?


404 appears when the folder is not found, or when the user does not have access to the folder.


Can you check if the App user has access to the folder?


Thanks


  • Author
  • Participating Frequently
  • 6 replies
  • October 31, 2023

Hi @CodeBoxSeb

I’ve checked that folder, I’ve the editor access to that folder.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings