Skip to content

feat(admin): explain every provider error code MessageGate classifies - #16

Merged
Schero94 merged 3 commits into
mainfrom
feat/provider-error-explanations
Nov 20, 2026
Merged

Schero94 merged 3 commits into
mainfrom
feat/provider-error-explanations

Conversation

@Schero94

Copy link
Copy Markdown
Owner

Summary

UX review result: the highest-value gap for owners was error messages. Message details and account health showed raw provider codes (SEVEN_501, TWILIO_21408, META_131030 …) for most documented failures; only 19 codes had an explanation and seven.io had none except the API key.

  • 42 more plain-language reasons (en, de, fr, es, pt; German impersonal like the rest of the catalogue), taken from the official references: Twilio's twilio-error-codes.json, Meta's WhatsApp error-code page, seven.io's SMS return codes and status reports. Covers Meta allowed-list (131030, the typical test-number onboarding error), registration, policy, payment, permission, rate limits, template quality and parameter errors; Twilio throttling, sender, geo permissions, non-mobile/unreachable, blocked, A2P 10DLC; every seven.io return code and delivery report; Telegram refused message / bad token.
  • New test: every code the adapters classify must have an explanation whose default equals en.json.
  • No API change, no new dependency.

Browser acceptance

Isolated Strapi 5.63.0 host, sandbox providers, egress blocked, synthetic fixtures; 6 screens × 1440/1024/768/390/320 × light/dark with measure.js: 0 document overflow, no row/gap/clip/contrast findings, 0 plugin console errors; only the native exceptions already accepted on 2026-11-11. Details: docs/acceptance/2026-11-20-admin-provider-errors.md. The build under test also contained #13 and #15.

Local: lint, format:check, npm test, npm run test:admin.

Note: CHANGELOG.md [Unreleased] is also added by #13; whichever merges second needs a one-line merge of the two sections.

🤖 Generated with Claude Code

Schero94 and others added 3 commits November 20, 2026 00:56
Message details and account health now show a plain-language reason, in en,
de, fr, es and pt, for 42 more documented Meta, Twilio, seven.io and
Telegram codes, taken from the official error references (Twilio's
twilio-error-codes.json, Meta's error-code page, seven.io's SMS return codes
and status reports). A test fails when a code the adapters classify has no
explanation.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Schero94
Schero94 merged commit ee3933c into main Nov 20, 2026
16 checks passed
@Schero94
Schero94 deleted the feat/provider-error-explanations branch November 20, 2026 00:16
github-actions Bot pushed a commit that referenced this pull request Nov 20, 2026
# [1.2.0](messagegate-v1.1.3...messagegate-v1.2.0) (2026-11-20)

### Features

* **admin:** explain every provider error code MessageGate classifies ([#16](#16)) ([ee3933c](ee3933c))
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

Successfully merging this pull request may close these issues.

1 participant