We are developing an application which uses Box to store files in specific folder. Until now we were using the User Authentication and everything went smooth.
Recently we had switched to the Server Authentication (JWT), we had successfully authorized our app but were unable to upload or search a specific folder (by id) - an error was raised, 404 not found.
I've looked a bit in your community forum and it seems like we net to set some permissions somewhere...
Please advise how could we initiate successful calls to the BOX API using JWT. As mentioned, our main use-case is searching, uploading and deleting files/folders.
Original error:
boxsdk.exception.BoxAPIException:
Message: Not Found
Status: 404
Code: not_found
Request id: xxxxxx
Headers: {'Strict-Transport-Security': 'max-age=31536000', 'Cache-Control': 'no-cache, no-store', 'Content-Encoding': 'gzip', 'Vary': 'Accept-Encoding', 'BOX-REQUEST-ID': 'xxxxxx', 'Date': 'Mon, 19 Mar 2018 14:56:39 GMT', 'Content-Type': 'application/json', 'Age': '0', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive'}
URL: https://api.box.com/2.0/folders/xxxxxx
Method: GET
Context info: {'errors': [{'reason': 'invalid_parameter', 'name': 'item', 'message': "Invalid value 'd_xxxxx'. 'item' with value 'd_xxxxx' not found"}]}