Skip to main content
Question

access_denied_insufficient_permissions on creating App User

  • May 22, 2025
  • 7 replies
  • 25 views

Forum|alt.badge.img

Hello.
I am having trouble on creating an app user.
From the doc in https://developer.box.com/guides/users/create-app-user/

I sent the a POST request to 'https://api.box.com/2.0/users' 
with payload as :

{

    "name": "Test User",
    "is_platform_access_only": true,
    "external_app_user_id": "user-1-in-boxpoc"
}'

But received :

{
"type": "error",
"status": 400,
"code": "invalid_request_parameters",
"message": "Invalid input parameters in request",
"request_id": "q6l212gnazne89a7"
}

From the docs, there is no extra config necessary that needed to be done on my application.
I am sure that my token is valid and I am the admin and owner of the box application.

What am I missing?
And where I can find the docs so that I can create an app user?

Best Regards.

7 replies

Forum|alt.badge.img

Hello, 

I was able to create the app user just fine using the below: 

BOX__mHvWwq9lGMAeG8HvkXUEaA.png

Can you confirm the trailing ' after your closing brace from above is not actually in the body? 

Best,

Kourtney, Box Developer Advocate


Forum|alt.badge.img

Hello, Kourtney.

I created a video with the steps that I tried.
Could you check it out plz?

https://www.youtube.com/watch?v=6ft0zJ_rG6I

Best regards


Forum|alt.badge.img

Hey Eduardo, 

Thanks for the video! It looks like the app type you've selected is standard oauth2. However, app users can only be created for server authentication applications, which is why the call is failing. Try creating an app of this type and re-try the call!

Best,

Kourtney, Box Developer Advocate


Forum|alt.badge.img

Thank you, Kourtney.

I'll try that,


best regards


Forum|alt.badge.img

Hello, Kourtney.

Would it be possible for you to guide me in a zoom call?

https://us04web.zoom.us/j/72135905089?pwd=R0oreVEyNGJuN08zRjVmRTJ0bFNPdz09

I am still having some issues...

Best regards


Forum|alt.badge.img

I am using the Server Authentication with JWT
I am getting this as response:

{
"error": "unauthorized_client",
"error_description": "The grant type is unauthorized for this client_id"
}

Forum|alt.badge.img