Control Compliance Suite: Error "Invalid_grant" when creating token for REST API

book

Article ID: 192163

calendar_today

Updated On:

Products

Control Compliance Suite Standards Server Control Compliance Suite Windows Control 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.

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)

Environment

Release :12.5.x

Component : CCS REST API 

Resolution

Create a password that does not use any of the following special characters:  +  &  %