Skip to content

zendesk: pre-validate key + surface helpful 400 diagnostics #22

@productdevbook

Description

@productdevbook

Wrong key type (account vs widget) returns 400 from `/compose` with no hint.

Evidence

Tasks

  • `load({ key })` — validate key is a UUID (Messenger) or ZAK (Classic) shape
  • In dev mode, fetch the snippet once and surface non-200s with explanation
  • Pre-warm `embeddable_blip` + `ticket_fields` on `idle` so first `show()` is snappy

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions