LogoLogo
  • 👋START HERE
    • Welcome!
  • ℹ️General
    • Release Notes
      • Full Feature Base Template
      • Services
      • Rule-based Automation
        • February 2025
        • January 2025
        • December 2024
        • November 2024
        • October 2024
        • September 2024
        • August 2024
        • July 2024
        • June 2024
        • May 2024
        • April 2024
        • March 2024
        • February 2024
        • January 2024
        • 2023
        • 2022
        • 2021
        • Dialog Design Update
    • Glossary of Terms
    • Authentication Methods
      • SSO (Single Sign-On)
      • Built-In User Management
    • Acceptable Use Policy
  • ⚙️Rule-based Automation
    • Overview
      • Account Settings
        • Profile
        • Team
        • Roles and Permissions
          • User Management
          • Project Permissions
      • Basic Concepts
        • Project Management
        • Version Management
        • Multi-Lingual Bots
          • Supported Languages
        • Managing User Interactions
          • Unexpected User Input
          • No User Input
    • Dialog Interface
      • Blocks
        • Conversation Logic
          • Start Conversation
          • Global
          • State
          • Intermediate Response
          • To Previous State
          • End Conversation
        • Subdialog
          • Reusable Subdialogs
        • Phone
          • Continue Listening
          • Call Control
        • Technical Logic
          • Service
          • Condition
          • Storage
        • Other
          • Note
      • Speech Assets
        • Intents
          • Utterances
          • Descriptions
        • Slots
          • Custom Slots
            • List Slots
            • Machine Learning Slots
            • Regex Slots
            • LLM Slots
          • Prebuilt Slots
            • DTMF Slot
        • Text Snippets
        • Dictionary
      • Variables
        • Intents
        • Slots
        • Storage
        • Text Snippets
        • Environments
        • Platform
        • Context
      • Services
        • Service Integration Guide
        • Service Development
        • Service Branches and Error Handling
        • Public Services
          • Date and Birthdate Recognition
          • Spelling Post-Processing for Phone
          • IBAN Validation
          • License Plate Validation
          • Address Search
          • Street Names per Postal Code
          • Email Service
          • SMS Service
          • API Adapter
          • Salesforce-Flow Connector
          • Opening Hours
          • Speech-to-Text Hints
          • Fuzzy Match Names
          • Delay Service
      • Debugger
        • Phone 2
        • WhatsApp
        • Textchat 2
    • Environments Interface
      • Service Keys
    • Deployments Interface
      • Creating a Release
      • Editing a Release
    • Text-to-Speech
      • Azure
      • ElevenLabs
      • OpenAI via Azure (Preview)
      • SSML
        • Audio
        • Break
        • Emphasis
        • Prosody
        • Say-as
        • Substitute
        • Paragraph and Sentence
        • Voice
    • Autocomplete
    • Parloa APIs
      • CallData Service and API
      • Conversation History API
      • Textchat V2 API
    • Phone Integrations
      • Genesys Cloud
        • Setting up the SIP Trunk
        • Sending/Receiving UUI Data
        • Creating a Script to Display UUI
      • SIP
      • Tenios
        • Setting Up an Inbound Connection
        • Setting Up an Outbound Connection
        • Transferring a Call
      • Twilio
      • Public IPs and Port Information
    • AI Integration Overview
      • Dual Intent Recognizer (DIR)
      • Dual Tone Multifrequency (DTMF) Intent
    • Analytics and Debugging
      • Understanding Conversations and Transactions
      • Managing Caller ID Data
      • Hangup Events and Triggered Analytics
      • Analytics Transactions: Data Structure and Insights
      • Dialog Analytics
      • Audit Logs
      • Parloa-hosted Analytics
    • Data Privacy
      • Anonymizing Personally Identifiable Information
    • NLU Training
      • NLU Training Best Practices
    • How To
      • Create a Scalable and Maintainable Bot Architecture
      • Implement OnError Loop Handling
      • Resolve the 'Service Unavailable' Error
    • Reference
      • Parloa Keyboard Shortcuts
      • Frequently Asked Questions (FAQ)
      • JavaScript Cheat Sheet
        • Using Regular Expressions (Regex)
  • 🧠Knowledge Skill
    • Introduction
    • Knowledge Collections
    • Knowledge Sources
    • Knowledge Skill Setup
      • Step 1 – Create a Knowledge Skill Agent
      • Step 2 – Configure a Knowledge Skill Agent
      • Step 3 – Configure a Knowledge Skill Agent
Powered by GitBook
On this page
  • Error Overview
  • How Parloa Processes Conversations
  • Identifying and Resolving Infinite Loops
  • Step 1 – Isolate the Error
  • Step 2 – Reconnect and Test
  • Step 3 – Implement a Counter
  • Additional Considerations

Was this helpful?

Export as PDF
  1. Rule-based Automation
  2. How To

Resolve the 'Service Unavailable' Error

PreviousImplement OnError Loop HandlingNextReference

Last updated 1 year ago

Was this helpful?

Encountering the "Service Currently Unavailable" message in Parloa can be frustrating. This guide aims to help you understand why this issue occurs, how to identify the root cause, and implement safeguards to prevent future occurrences.

Error Overview

This error usually indicates an infinite loop—a situation where your Parloa bot repeats the same action without progressing. Most often, these loops are due to an error in the global error handling, causing the error-handling flow to loop indefinitely. To resolve this, inspect your bot's global error handling and review the last block executed in the .

How Parloa Processes Conversations

Parloa's conversation model is based on sequential question-and-answer transactions. Each conversation is a series of these transactions, visible in the . An incomplete transaction, where the bot does not move to the next block, typically indicates an infinite loop and stops debugger updates.

Identifying and Resolving Infinite Loops

Infinite loops often arise from issues in global error handling or bot flow misconfigurations. Follow these steps to resolve them –

Step 1 – Isolate the Error

Redirect global error handling temporarily to an block. This isolates the primary error triggering the loop.

Step 2 – Reconnect and Test

  1. Reintegrate components gradually – Carefully add each bot component back into the flow. Test after each addition to verify if the bot works or if the error recurs.

  2. Systematic testing for stability – Maintain this add-and-test routine. It ensures bot stability and helps pinpoint the exact cause of the error.

Step 3 – Implement a Counter

Add a counter directly after the Global Intents block. This counter consists of a storage variable to increment each time the global error handling is triggered, and a preceding condition to check the counter's value. This setup helps identify whether the entry into global error handling is the first occurrence or a part of an ongoing loop.

In the case of a loop, the bot should take a different path, most likely ending the conversation. This step is crucial for revealing errors within the global error handling flow and ensuring that there's a 'break' condition to prevent infinite loops.

Additional Considerations

If the error occurs immediately after a bot prompt, consider retraining the Natural Language Understanding (NLU) module. This is especially important following system updates or migrations.

Examine the last State block – Begin with the last block shown in the . The error usually lies between this block and the next.

⚙️
State
debugger
State
debugger
debugger
State
End Conversation