Skip to content

sso-oidc exceptions don't translate "error_description" into ClientError message field #2216

@benkehoe

Description

@benkehoe

The sso-oidc method CreateToken returns an error response that looks like:

{"error": "invalid_grant", "error_description": "Invalid grant provided"}

but on the botocore.errorfactory.InvalidGrantException object, the error.response["Error"]["Code"] is correct but error.response["Error"]["Message"] is an empty string.

This is using botocore 1.19.13

Metadata

Metadata

Assignees

Labels

feature-requestThis issue requests a feature.p3This is a minor priority issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions