Skip to content

Troubleshooting

Failures common to both the issuer and the verifier, and how to tell them apart.

Start with the logs — docker logs <container> — and confirm the container is actually running with docker ps. A service that is serving answers 204 on /livez, and prints Starting server to the log at that point. If neither happens, the problem is in startup, not your request. If /livez answers but /readyz returns 503, the service is running and cannot reach its database — start with Database.

Starting up

docker compose pull fails with an authentication or denied error. Docker is not logged in to the registry, or the account lacks access. Run docker login registry.gitlab.com and pull again. If it still fails, the account does not have access to the image — book a call to arrange it.

Port already in use (8079, 8081 or 5433). Stop whatever holds the port, or change the left-hand side of the mapping in docker-compose.yml, e.g. "18081:8081". Change only the host side; the right-hand side must keep matching port in server.json.

The service exits complaining about the config file. The log names the setting. server.json needs port, baseUrl and database, and an unrecognized key stops the service too. See the issuer and verifier configuration references.

The service starts, then fails on a database migration. The log names the migration that failed. This normally means the database already carries a schema from a different version. Do not roll the image back and restart — restore the backup you took before upgrading. See Database.

The service cannot reach the database. Inside a Compose network the database host is the service name, not localhost. jdbc:postgresql://postgres:5432/verifier is correct; localhost:5432 is what a container would resolve to itself. Gate the backends on the database's health check rather than start order.

The database exists but the service says the schema is missing. The postgres-init scripts run only against a fresh data volume. If you added or edited them after the first start, they never executed. docker compose down -v && docker compose up -d --wait re-runs them — and deletes all data, the tenants included, so create them again.

Creating the tenant

POST /admin/tenants answers 400. The body says why: a tenant code that is not lower-case letters, digits and -, a missing signing or, on the verifier, issuer_trust_anchors, or a key or certificate the service cannot read. Keys and certificates are PEM text inside JSON strings, so their line breaks must be written as \n; jq --rawfile does that. See Creating a tenant.

POST /admin/tenants answers 409. The service already has a tenant with that code.

A logo is refused. PUT /admin/tenants/{code}/logo answers 400: the logo is not a PNG or JPEG image of at most 512 KB. The format is read from the content, so renaming an SVG to .png does not help. See Logo.

Making requests

401 on a call you expect to work. The endpoints your application calls need an API key as a bearer token. Add -H 'Authorization: Bearer <your key>', with a key added through the admin endpoints. The issuer and the verifier have keys of their own. Emptying the database, as docker compose down -v does, deletes the tenant and its keys: create the tenant again, and use its new key. See API keys.

401, 404 or 409 from /admin/tenants/…. 401 means the admin key is missing or not in admin.apiKeys of server.json — an API key does not open these endpoints. 404 means the path names a tenant the service does not have, such as example before it is created. 409 means the tenant you are creating exists already. See Admin endpoints.

400 Bad Request when starting a verification session. verification_query_id is required in the request body. A session cannot be started without naming a verification query that already exists. Create one first with POST /verification-query/create. See Request a presentation.

The OpenAPI page will not load. Confirm the container is running and check its logs for configuration errors. The specification is at /openapi on each service's own port — 8079 for the issuer, 8081 for the verifier.

The wallet side

The wallet scans the QR code and then nothing happens. Almost always baseUrl. It is the address the service advertises to wallets, and a phone cannot resolve localhost or reach a private address it is not on. Set baseUrl to something the phone can reach and restart the container.

The wallet refuses the verifier's request, or shows a trust warning. That wallet validates the certificate chain in the signed request against its own trusted roots, and checks that the request's client_id hash matches — a check wallets are free to make or skip, which is why the same request can work with one wallet and be refused by another. A self-signed verifier certificate is accepted only by a wallet that does not check, or one configured to accept it. See Trust model.

A credential fails verification with a trust or certificate error. Its chain did not validate against your issuer trust anchors. List them through the admin endpoints and check the issuer's root is there. If every credential fails this way, the tenant most likely has no anchors. Add the root through the admin endpoints. If the chain is genuinely from an issuer you do not accept, the rejection is correct. See Issuer trust anchors.

A chain that looks right still fails. Certificates are checked for their validity period as well as their path, so an expired intermediate fails. Chains longer than 10 certificates are rejected before validation begins.

A credential verifies when you expected it to be rejected. Its chain leads to one of your trust anchors. List them through the admin endpoints and remove the root you no longer mean to accept.

Sessions

A session reports ISSUANCE_FAILED or VERIFICATION_FAILED. Both status endpoints return an error_message alongside the status, which says what went wrong. Read that before anything else: GET /issuance/oid4vci/status/{session_id} and GET /presentation/oid4vp/status/{session_id}.

'vct_values' of the meta is required and must be a non-empty array of strings. The verification query asks for an SD-JWT VC and has no meta.vct_values, which that format requires. See Verification queries.

Presented credential type '…' is not one of the requested types […]. The holder presented an SD-JWT VC of another type than the ones you asked for. Check vct_values against the vct of the issuer's credential configuration.

The SD-JWT VC is presented without a key binding JWT or The SD-JWT VC is not bound to a key in 'cnf.jwk'. Usually the credential was issued without a key. The wallet then either has nothing to sign the presentation with, or signs it with a key the credential does not carry. A credential from the issuance service is bound to a key when its credential configuration has cryptographic_binding_methods_supported and proof_types_supported, and the wallet proves its key when collecting it. For a credential from another issuer, ask that issuer to bind it to the holder's key.

Results never arrive at your application. Check the tenant was created with a session_callback, and that it points at a URL the service can reach — from inside its container, not from your desktop — and that your endpoint returns a success status. See Receive the issued credential and Receive verified data.