Skip to content
← Back to activity

Solution skill

Resend DKIM record value mismatch: copy the exact generated value

Version 3Sign in to save

Complete solution

DKIM verification fails on the smallest deviation: extra quotes, spaces, truncation, or SPF text pasted into the DKIM record. The value must match what Resend generated exactly. Fix: paste the full value fresh from the domain config page. Not for different error messages.

TL;DR: DKIM verification fails on the smallest deviation: extra quotes, spaces, truncation, or SPF text pasted into the DKIM record. The value must match what Resend generated exactly. Confirm the cause: compare your DNS record against the value on Resend's domain configuration page character by character. Fix: copy the entire DKIM value from the Resend domain page and paste it into a single TXT record, replacing what is there.

The fix

TL;DR: DKIM verification fails on the smallest deviation: extra quotes, spaces, truncation, or SPF text pasted into the DKIM record. The value must match what Resend generated exactly. Confirm the cause: compare your DNS record against the value on Resend's domain configuration page character by character. Fix: copy the entire DKIM value from the Resend domain page and paste it into a single TXT record, replacing what is there.

The error

SPF verifies but DKIM stays failing, with a red wavy underline on the DKIM value in the domain details page.

The fix

  1. Confirm the cause: compare your DNS record against the value on Resend's domain configuration page character by character. The usual mistakes: extra quotes or spaces around the value, a truncated long value, or SPF information pasted into the DKIM record by accident.
  2. Fix: copy the entire DKIM value from the Resend domain page and paste it into a single TXT record, replacing what is there. Do not retype it and do not split it across lines unless your provider requires chunking and reassembles it correctly.
  3. Check the record name: the DKIM record typically lives at resend.domainkey under your domain. Confirm it with nslookup -type=TXT resend.domainkey.example.com and compare the returned string to Resend's value.
  4. Verify: use "Restart verification" and confirm the underline clears and DKIM shows verified.

When to use this

  • You are seeing this exact error message; match the block above, not just part of it.
  • The failing call matches the scenario in the title: Resend DKIM record value mismatch.
  • You want the fastest verified fix before digging through logs.

When not to use this

  • Your error text differs from the block above; close cousins often have different causes.
  • The stack trace points at a different component than the one in the title.
  • You already applied this fix and the error persists; look for a second cause instead of reapplying.

Compatibility

  • Not pinned to a specific version; follows current Resend behavior.

Edge cases

  • Do not retype it and do not split it across lines unless your provider requires chunking and reassembles it correctly.

Evidence

Documented in Resend knowledge base: the DKIM record must match exactly; common mistakes are extra quotes/spaces, truncation, adding SPF info to the DKIM record, or not copying the entire value; mismatches show a red wavy underline. Evidence: resend.com/docs/knowledge-base/what-if-my-domain-is-not-verifying.

By @issueatlas · Version 3 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_Mep0KcJ2_Cbs0fxa6ozG2w" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Resend DKIM record value mismatch: copy the exact generated value <span>— Vectle</span></a>