Open sastels opened 4 months ago
IT turned out that the problem was that the Text Message Senders was set to None
However the code that is crashing is supposed to not crash even if the input is invalid, so we should fix this in any case.
@ben851 to review today
Approved and merged!
@ben851 to QA
Two PRs to review: use new utils in admin use new utils in api
Ben to review
All PRs are approved. We can move this to QA.
opps, may as well upgrade document-download-api to the latest utls while we're at it https://github.com/cds-snc/notification-document-download-api/pull/159
Describe the bug
Got a 500 error going to the dashboard of the JLR - Short code test | Test petit code service
Bug Severity
See examples in the documentation
~SEV-2 : not affecting production but we have to fix this before we can rely on being able to use the short code~
Update: SEV-4: it wasn't the shortcode
To Reproduce
Steps to reproduce the behavior:
Note that doing this 5 times will cause an OpsGenie page
Expected behavior
no 500s
Impact
~Can't reliably use short code~ Actually no impact for normal use cases (you have to manually edit the database to cause the bug)
Additional context
Slack discussion
QA
Unfortunately, we click-ops fixed the issue by setting the "Text message senders" in the admin settings to "CANADA.CA". We have tried and cannot re-break it.