CCS Error: Error "Invalid_grant" when creating token for REST API
searchcancel
CCS Error: Error "Invalid_grant" when creating token for REST API
book
Article ID: 192163
calendar_today
Updated On: 11-01-2023
Products
Control Compliance Suite Standards ServerControl Compliance Suite
Issue/Introduction
When configuring the user with the REST APIs using a clear text password with special characters, the error "invalid_grant" is displayed.
Environment
Release:12.6.x
Component: CCS REST API
Cause
Python has a limitation with certain special characters that might be included in a password.
If one or all of the following special characters are included in the password, you may get the 'invalid_grant' error. + (plus) & (ampersand) % (percent)
Resolution
Create a password that does not use any of the following special characters: + & %