Skip to main content
Box Employee
May 27, 2025 6:50 AM UTC
Question

API- cannot create folder 404 error but parent folder exists and user is invited to folder

Currently I'm trying to create a folder through the api but I get the following error.

{"type":"error","status":404,"code":"not_found","context_info":{"errors":[{"reason":"invalid_parameter","name":"parent","message":"Invalid value 'd_279323865143'. 'parent' with value 'd_279323865143' not found"}]},"help_url":"http:\/\/developers.box.com\/docs\/#errors","message":"Not Found","request_id":"gehgn8hsh36vmq65"}

 

The weird thing is that the folder definitely exists and I already invited the App user to the folder (made it a co-owner of the folder) and for some reason this still has not worked. 

I tested this on my dev environment and it works there but won't work for my production environment. Anything I could be missing? 

    1 reply

    Box Employee
    May 27, 2025 6:50 AM UTC

    figured it out, turns out I had to create the app my production instance. 

    It was a little confusing since the app on my sandbox instance I was able to ask for authorization for both my sandbox and production enterprise 

    Translate