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

Python - CCGAuth - Grant Credentials are Invalid

Hi, I'm working on Python automation for box. It works with the developer token but when trying to authenticate with CCG, but I get:

{'error': 'invalid_grant', 'error_description': 'Grant credentials are invalid'}

It's a sandbox account using Authentication Method, OAuth 2.0 with Client Credentials Grant (Server Authentication), and App Access Level, App + Enterprise Access

I authorized the app for access to enterprise.