Skip to main content
Question

message not found

  • May 22, 2025
  • 5 replies
  • 21 views

Forum|alt.badge.img

Hi,

I am getting this error while trying to upload documents using python code. Please help in resolving this error.

boxsdk.exception.BoxAPIException: Message: Not Found
Status: 404
Code: not_found

 

Thanks.

5 replies

Forum|alt.badge.img

Hello Prudhvi, 

Based on the information provided, I'm not quite sure why you are getting this error. Typically, not_found errors show up due to the application service account not having the appropriate permissions to the content you are trying to access. 

I would review the authentication sample code in the python sdk - specifically looking at the as user section. As-user calls will allow you to make API calls as another user other the application service account

Thanks, 

Alex, Box Developer Advocate


Forum|alt.badge.img

Hi Alex,

Thanks for the reply. I made few changes in the configuration section. I am the admin and I haven't received any mail for re-authorization of my application.

 

BOX__ACl72Xok0ORG20FvvPzr7w.png

Thanks.

 

 


Forum|alt.badge.img

Another way to get to the authorization screen is by going to Admin Console > Apps > Custom Apps like shown in this article. You are correct in that you will want to reauthorize in order to allow the changes you made to go through. 

Thanks,

Alex, Box Developer Advocate 


Forum|alt.badge.img

I authorized my application. But error persists. I don't know the exact cause of this error.

BOX__Yc5BNUk4zAT1uN4NYTAcEQ.png

 

Thanks,

Prudhvi.


Forum|alt.badge.img

Hi Alex,

Thanks for helping me in resolving this issue.

Thanks,
Prudhvi.