Error Messages

Reading Time: 2 minutes
Download Markdown

Overview

When something goes wrong, visitors see a short, friendly message instead of a technical error. You can change these messages in WPiko Chatbot → Chat Experience → Error Messages, for example to match your tone or translate them.

Technical errors (such as “cURL error 28”, “429” or “504 Gateway Timeout”) are mapped automatically to one of the categories below. The technical details are written to the Debug Log.

Error Categories

CategoryUsed whenDefault message
General ErrorAnything that doesn’t fit another categoryAn unexpected error occurred. Please try again later.
Connection IssuesTimeouts, the server can’t be reached, the visitor is offlineWe are having trouble connecting to the server. Please check your internet connection.
Server BusyRate limits or overloaded servicesThe system is currently busy. Please try again in a few moments.
Authentication FailedThe visitor’s session expiredYour session has expired. Please refresh the page and try again.
Feature UnavailableA restricted or disabled feature was usedThis feature is currently unavailable.
Service UnavailableAn OpenAI key or billing problem, such as no credit or a rejected keyThe chat assistant is temporarily unavailable. Please try again later.

Leave a field empty to use the default. Click Save Error Messages to apply your changes.

What Admins See

When you, as a logged-in site admin, chat with the bot and something fails, you see the real reason and a link to fix it. For example: “Your OpenAI account has no credit… add credit in your OpenAI billing settings”. Visitors only ever see the friendly message. The Dashboard also lists these problems under Attention Required.

Other Visitor Messages

  • The message shown when a visitor reaches their limit is set in User Limits.
  • Email Capture’s validation message is set in Pro Features → Email Capture.

Writing Good Error Messages

  • Keep them short (under 150 characters) and friendly.
  • Tell the visitor what to do next: try again, refresh, or contact you.
  • For Service Unavailable, consider adding another way to reach you, such as your email or phone number.
  • Write them in your visitors’ language.
Have a Question?