Graylog2 / Graylog2/graylog-plugin-integrations

Improve error message for invalid AWS credentials

Open
#147 1 comment 0 reactions 0 assignees View on GitHub
aws improvement
Dominant language
Java
Stars
17
Forks
14
PR merge metrics
No merged PRs in 30d

Description

## Description

When invalid AWS credentials are provided to AWS API calls, a complicated error message is returned:

> The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details. (Service: Kinesis, Status Code: 400, Request ID: 214312412)

Can we catch this condition and return a better/friendlier error message to the user (something like "Invalid AWS Key/Secret" would work).

We might be able to catch a specific AWS exception and return a better error. This same handling would need to be used for all AWS API calls.

## Steps To Reproduce

Execute a post request to `/kinesis/streams` with an invalid AWS key/secret.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.