Skip to content

Secrets Manager  >  Errors  >  InvalidRequestException

InvalidRequestException

Error Class

InvalidRequestException dataclass

Bases: ServiceError

A parameter value is not valid for the current state of the resource.

Possible causes:

  • The secret is scheduled for deletion.

  • You tried to enable rotation on a secret that doesn't already have a Lambda function ARN configured and you didn't include such an ARN as a parameter in this call.

  • The secret is managed by another service, and you must use that service to update it. For more information, see Secrets managed by other Amazon Web Services services.

Attributes

fault class-attribute instance-attribute
fault: Literal['client', 'server'] | None = 'client'