Notebooks(Alert): Mailjet Alert Test fails #3788
Labels
area/notebooks
bonitoo
kind/bug
Something isn't working
team/ui
team/unity
More suited for the Unity squad of the UI team
About the bug
Steps to reproduce:
List the minimal actions needed to reproduce the behavior.
Expected behavior:
Expected the Alert Test email to be sent.
Actual behavior:
A notification appears with a message: "Failed to send the test alert to Mailjet".
In the browser network monitoring tool the call to
/query?
returned HTTP 400.Visual Proof:
About your environment
Environment info:
Testing with K8SIDPE Remocal.
Latest commit in project UI
Latest K8SIDPE commit
Logs:
From console:
Generated code
Here is the flux generated after clicking Alert Test
First problem is that the script declares the variable
apiSecrets
and then tries to useapiSecret
.The second problem is that the header
Authorization
value should be in Base64https://datatracker.ietf.org/doc/html/rfc7617
The following script, using a hard coded Base64 string works in explorer. Note the string has been modified for safety reasons.
It also appears that many of the imports are unused.
Related issue
#3706
The text was updated successfully, but these errors were encountered: