Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting 400 response in cloudwatch logs #1

Open
OxHimanshu opened this issue Dec 19, 2022 · 2 comments
Open

Getting 400 response in cloudwatch logs #1

OxHimanshu opened this issue Dec 19, 2022 · 2 comments

Comments

@OxHimanshu
Copy link

Screenshot 2022-12-19 at 8 19 41 PM

@truekoi
Copy link

truekoi commented May 18, 2023

Hi @OxHimanshu
in case if it still relevant for you and for any who might found this usefull -
The issue is that Discord don't accept None format and it may be occured at least for lines
#15
"value": event["Trigger"]["Dimensions"][0]["value"] if len(event["Trigger"]["Dimensions"]) > 0 else 'no data',
&&&
#25
"value": event.get("AlarmDescription") if event.get("AlarmDescription") == True else "no description",

above is workaround that work fine for me (at least so far ) :)

@DanielDaCosta
Copy link
Owner

Hey @truekoi thanks for the solution. Please @OxHimanshu let me know if it works for you too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants