Skip to main content
Box Employee
May 27, 2025 8:04 AM UTC
Question

{"error"=>"invalid_client", "error_description"=>"The client credentials are invalid"}

I use to be able to authenticate as the subject_type user on the client id app 

kox474mes4cugrj929i4kh5enokukmlt
 
However, now it seems that the subject_type is being required to be set to enterprise. The problem with this is that as the enterprise, I have to add the "Automationuser" to the folder I want the user to upload to. This is a problem because I have been shared several folders and it would be a large coordination effort to have everyone add the "Automationuser" as an uploader. And this would break for any new shares if the user wasn't added.

Is there a way to still be able to upload as the user that has access to those folders? I tried using the As-User header, but then that returns the error like the folder doesn't exist.

    1 reply

    Box Employee
    May 27, 2025 8:04 AM UTC

    Hi Dave, 

    Welcome to Box Community and glad to assist!

    Kindly reach out to our Developer team for your API-related queries. To post your inquiry, please use this link and click 'Box Platform.'

    Thanks for posting!

    Translate