Skip to content
Docs
Reference

PARTNER_ASSERTION_AUDIENCE_MISMATCH

Partner assertion is for another channel

Partner assertion is for another channel

HTTP status 401 Unauthorized, code PARTNER_ASSERTION_AUDIENCE_MISMATCH.

What it means#

The assertion's aud is missing or does not name this channel's id. The audience binds an assertion to one channel, so one minted for another channel - even one that trusts the same key - is refused.

What to do#

Set aud to the id (sch_...) of the channel whose key you exchange it with, not its slug.

On the wire#

Every error response carrying this code names this page in error.moreInfo, with the request id in the query string. See Error codes for the response shape and the list of every code.