public_key_in_use
Public key in use
HTTP 409
At launchOnly a request signed by a signed credential is answered this way, and signed credentials can be registered from launch.
The signature verified, but another signed credential has already activated this public key, so this one can't be activated with it. A public key is active for one credential at most, and once activated it is never activated again. Generate a new key pair, register its public key in the portal and activate that credential. A replacement refused this way can be revoked in the portal, and the credential it replaced then replaced again with the new key.
The problem body
Sent as application/problem+json, with the request id in request_id and the X-Request-Id header. Branch on code: the error and detail sentences can change, and some operations add members of their own.
{
"error": "Public key in use",
"code": "public_key_in_use",
"type": "https://secondappraisal.com/developers/errors/public_key_in_use",
"title": "Public key in use",
"status": 409,
"detail": "Public key in use",
"instance": "/api/gap/v1/credentials/<id>/verify",
"request_id": "req_4f9a2c7e1b8d4a6f9c3e2b1a7d5f8e0c"
}Operations that can send it
- POST /api/gap/v1/credentials/{id}/verify · HTTP 409 · Activate a signed credentialAt launchIt opens when signed credentials open.