Skip to main content
Question

403 Error When Accessing the docgen_batches Endpoint

  • January 15, 2026
  • 0 replies
  • 24 views

I have been attempting to initiate a DocGen process through the API, and am being met with a 403 error indicating insufficient permissions. According to the developer console, ‘Manage Doc Gen’ is checked and enabled. I even forced a token refresh to see if that would make things update. Those efforts have had no effect, and the 403 error is still present. Are there any further steps I can take?

The error response in full:
{"message":"Insufficient permissions: Document Generation scope not enabled for this OAuth application","status":"error","fileId":null}

The app’s service account is the one performing the action, and I have verified that it has access to all of the relevant folders and files the call is attempting to interact with.