← KSeF Guide
KSeF Rules, Deadlines & Outages10 min read

KSeF app not working? Common login errors and how to fix them

Troubleshoot KSeF login and app access by checking the environment, company context, permissions, token, certificate and network.

Contents

A failed KSeF sign-in does not always mean that a token has expired. The cause may be the selected environment, an incorrect company context, missing permissions, a revoked credential, a temporary service issue or a network problem. Check each layer before generating new credentials.

Why can the KSeF application sign-in fail?

Start by identifying where the error occurs: the government portal, authentication step, third-party application or KSeF API. A browser login may work while an app token or certificate is configured for a different company or environment.

Common checks

  • Confirm the production, Test or Demo environment.
  • Check the company NIP and taxpayer context.
  • Verify that your user has the permission required for the operation.
  • Check whether the token is active and was generated for this context.
  • Confirm certificate type, validity and device setup.
  • Check your internet connection and current KSeF service status.

A step-by-step recovery

  1. Read the full error and note which screen or operation produced it.
  2. Confirm the environment and company context.
  3. Try a permitted action such as viewing an invoice before testing issuance.
  4. Check token or certificate status and the user’s KSeF permissions.
  5. Update the application and restart the phone if the local session appears stuck.
  6. Contact the app provider with the error details, but never send your token or certificate.

Portal access and everyday app access

The Taxpayer Application may ask you to authenticate interactively. A commercial app may use a configured token or certificate for API access, so it need not ask for a trusted profile every time. That convenience depends on the credential, its permissions and the app’s supported workflow.

If KSeF is unavailable, previously stored local invoices may still be viewable, but new synchronisation requires a connection. Offline invoice issuance follows separate KSeF rules and app capabilities.

Frequently asked questions

Does a 401 error always mean the token expired?

No. Check the context, environment, token status and permissions. Errors can have several causes.

Does a KSeF token expire after a fixed time?

Current MF information says generated tokens remain valid until revoked. Check current guidance and your token status.

Does Faktino require an interactive sign-in every time?

No. Once a supported token or certificate is configured, the app uses it for direct KSeF access, subject to permissions and connectivity.

Can I issue invoices during a KSeF outage?

That depends on the applicable offline procedure, certificate requirements and the app’s supported features. Follow current MF instructions.

Key takeaways

  • A 401 or login error does not automatically mean a token expired.
  • Check company context, environment and permissions first.
  • Token and certificate failures have different causes.
  • Do not send access credentials to support.
  • Local invoices may remain available while KSeF is unreachable.

For more practical guidance, visit the KSeF Guide or read the Polish version of this article.

Want to keep KSeF invoices under control?

Faktino helps you review purchase and sales invoices, follow payment status and issue sales invoices on your phone. Data stays on your device.

Get Faktino

Related guides