previous_secret_active
HTTP 409 · The last roll’s previous secret is still signing
What happened. The webhook endpoint’s signing secret was rolled less than 24 hours ago. For those 24 hours Passkaar signs with both the new and the previous secret, and a second roll now would cut the previous one off early, before your receiver may have the new one.
What to do. Wait until the 24 hours are over and roll again. If the new secret has leaked too, remove the endpoint and add it again.
Returned by
Section titled “Returned by”- Roll the endpoint’s signing secret —
POST /webhook-endpoints/{id}/roll-secret
The answer
Section titled “The answer”Errors are Problem Details, served as application/problem+json, with "code": "previous_secret_active" and "type": "https://passkaar.com/developers/errors/previous_secret_active", which opens this page on docs.passkaar.com.