Skip to content
This repository was archived by the owner on Mar 23, 2026. It is now read-only.
This repository was archived by the owner on Mar 23, 2026. It is now read-only.

SSM - PutParameter - Value '' at 'value' failed to satisfy constraint: Member must have length greater than or equal to 1. #5108

@yonatandbinahai

Description

@yonatandbinahai

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When trying to update a SSM parameter with an empty string (with PutParameter), the following error occurs:
1 validation error detected: Value '' at 'value' failed to satisfy constraint: Member must have length greater than or equal to 1.

Expected Behavior

We should be able to set a SSM parameter value to an empty string

How are you starting LocalStack?

With a docker-compose file

Steps To Reproduce

How are you starting localstack (e.g., bin/localstack command, arguments, or docker-compose.yml)

docker run localstack/localstack

Client commands (e.g., AWS SDK code snippet, or sequence of "awslocal" commands)

const requestParams: AWS.SSM.PutParameterRequest = {
Name: 'parameterName',
Value: '',
Overwrite: true,
};
await ssm.putParameter(requestParams).promise(); // validation error occurs

Environment

- OS: Windows 10
- LocalStack: 0.13.1

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions