You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When making a PutEvents call against LocalStack, the provided entries do not appear to be validated for Detail, DetailType, and Source, per the the corresponding behavior of AWS.
Expected Behavior
When making a PutEvents request to LocalStack, I expect to receive failed entries for entries that do not have the required Detail, DetailType, and Source.
How are you starting LocalStack?
Custom (please describe below)
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)
{
"FailedEntryCount": 1,
"Entries": [
{
"EventId": "28bc32af-7944-0a4f-dfe0-f75703d4b8db"
},
{
"ErrorCode": "InvalidArgument",
"ErrorMessage": "Parameter Source is not valid. Reason: Source is a required argument."
}
]
}
Environment
- OS: macOS Sonoma 14.4.1
- LocalStack: latest
Anything else?
We did find a previous issue that seemed to address this scenario and referenced the AWS documentation for PutEvents; while it does still list Detail, DetailType, and Source as "Required: No", they have added notes that any entries missing these fields will fail. (We have put a request in to AWS for clearer documentation on this issue.)
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Current Behavior
When making a PutEvents call against LocalStack, the provided entries do not appear to be validated for Detail, DetailType, and Source, per the the corresponding behavior of AWS.
Expected Behavior
When making a PutEvents request to LocalStack, I expect to receive failed entries for entries that do not have the required Detail, DetailType, and Source.
How are you starting LocalStack?
Custom (please describe below)
Steps To Reproduce
How are you starting localstack (e.g.,
bin/localstack
command, arguments, ordocker-compose.yml
)docker run localstack/localstack
Client commands (e.g., AWS SDK code snippet, or sequence of "awslocal" commands)
running against LocalStack returns:
running against AWS returns:
Environment
Anything else?
We did find a previous issue that seemed to address this scenario and referenced the AWS documentation for PutEvents; while it does still list Detail, DetailType, and Source as "Required: No", they have added notes that any entries missing these fields will fail. (We have put a request in to AWS for clearer documentation on this issue.)
The text was updated successfully, but these errors were encountered: