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
The thrown error message is undefined, but the inner JSON of the error indicates the email body wasn't set in sendEmail. Maybe something to do with locating the template? But there's a check for that...
body: {
message: 'The email objects are required. #MS42230',
errors: { data: [Array] }
}
Makes sense to me. Then perhaps the right behavior is at least: this error message is more detailed. But, that makes plenty of sense. We can clear the notifications from staging or restore after there are no such notifications pending.
I added a check just in case because we'll deal with this occasionally when restoring from production, such as if a user gets deleted for testing purposes or someone requests it, etc.
Per recent staging deploy workflow:
https://github.com/responsible-ai-collaborative/aiid/actions/runs/12378897056/job/34555123176?pr=3281
Error reported from this logic:
aiid/site/gatsby-site/src/scripts/process-notifications.ts
Line 397 in cce74c7
The thrown error message is undefined, but the inner JSON of the error indicates the email body wasn't set in
sendEmail
. Maybe something to do with locating the template? But there's a check for that...The text was updated successfully, but these errors were encountered: