R08 · 🟠 Medium · bug

Error handler crashes on payloads without status

What the code does

adapterError.errors[0].status.charAt() throws when status is missing, replacing the original error.

Where

app/controllers/marketing/campaigns/new.js

Suggested fix

Suggestion

Guard with optional chaining and default to api-error.

Affected features