Errors
Signed identity required
The board only accepts submissions from an identified reporter, and the request did not carry a signed identity — either none was sent, or its signature did not verify against the ingest key's identity secret. An unsigned claim about who somebody is is ignored rather than trusted, so it counts as none.
- Code
- IDENTITY_REQUIRED
- HTTP status
- 401
- Type
- https://myna.sh/errors/identity-required
What to do
Compute HMAC-SHA256 of your own user id with the key's identity secret on your server and send it as identify.signature on a submission, or as the X-Myna-Identity header on a read-back call. signIdentity in @myna-sh/sdk/feedback/server does it. Turn requireIdentity off on the board if anonymous submission is what you want.
application/problem+json
{ "type": "https://myna.sh/errors/identity-required", "title": "Signed identity required", "status": 401, "code": "IDENTITY_REQUIRED", "detail": "A human-readable explanation of this particular occurrence.", "requestId": "req_01k…" }
