Cyclr Community
  • Forums
  • Tutorials
  • Documentation
    • User Documentation
    • Connector Guides
  • Resources
    • New Features
    • Blog
    • Changelog
    • Support Portal
    • Newsletter Archive
    Sign in
    Cyclr Logo
    Cyclr Logo
    • Forums
    • Tutorials
    • Documentation
      • User Documentation
      • Connector Guides
    • Resources
      • New Features
      • Blog
      • Changelog
      • Support Portal
      • Newsletter Archive

    About Cyclr

    6
    • Introduction to Cyclr
    • Minimum requirements
    • Glossary
    • Errors
    • IP Allow List
    • Legal notices

    Cyclr Console

    14
    • Partner Console Dashboard
    • The Builder
    • Reports
    • Console Configuration
    • General Settings
    • Notifications
    • Embedding Customization
    • Security settings
    • Data retention settings
    • Custom Service Domains
    • Handle transaction errors
    • Payload Size Limitations
    • Performance tips
    • GitHub Integration

    Connectors

    33
    • Introduction to Connectors
    • Connectivity Comparison
    • Connector Guides
    • Application Connectors
      • Introduction to Application Connectors
    • Utility Connectors
      • Introduction to Utility Connectors
      • Counter Storage
      • Cross Updating Preventer
      • Data Tools
      • Entity Cross Ref Storage
      • Generic File
      • Generic File Downloader
      • Generic Form
      • Generic Webhook
      • Data Storage
        • Introduction to Data Storage Connectors
        • Global Data Storage
        • Global Object Storage
        • Cycle Data Storage
        • Cycle Object Storage
    • Custom Connectors
      • Introduction to Custom Connectors
      • Methods
      • Triggers
      • Last Successful Run Date
      • Parameters
      • Scripting
      • Data Types
      • Paging
      • Custom Objects
      • Dynamic Custom Fields
      • Automatically Install Webhooks
      • Connector Standards
      • Settings
      • Authentication
      • Rate Limits

    Templates

    17
    • Introduction to Templates
    • Template Settings
    • Create a Template
    • Tools
    • Connectivity Tools
    • Map fields
    • Add Custom Fields
    • Custom Object Method Categories
    • Test Scripts
    • Collection splitting
    • Pass data between two steps
    • Test a template
    • Template versioning
    • Introduction to Cycles
    • Stop a cycle
    • Copy Cycles as Templates
    • Import or Export Templates

    Accounts

    5
    • Introduction to Accounts
    • Account Users
    • Sub Accounts
    • Connector Authentication Link
    • Export or Import Cycles

    Embedding

    17
    • Introduction to Embedding
    • ORBIT
    • Installing a Partner Connector
    • Embed Cyclr in an iFrame
    • Launch
      • Introduction to Launch
      • User Experience
      • Customize Appearance
      • Build Compatible Templates
      • Handle LAUNCH callbacks
      • Deploy LAUNCH
    • Marketplace
      • Introduction to Marketplace
      • Set up a Marketplace
      • Styling Marketplace
      • Deploying a Marketplace
      • Marketplace Callback
      • Marketplace Webhook Callback
      • Marketplace Settings

    API

    19
    • Introduction to the Cyclr API
    • Authentication
    • Authorize Account API calls
    • Install Connectors into an Account
    • Install a Cycle from a Template
    • Step Setup
    • Activate a Cycle
    • Install Connectors
    • Create an Account
    • API Example Walkthrough
    • Connector Authentication
      • Introduction to Connector Authentication
      • API Key Authentication
      • HTTP Basic Authentication
      • OAuth Authentication
    • Data on Demand
      • Introduction to Data on Demand
      • Get Account Connectors
      • Get Connector Methods
      • Call a Connector Method
      • IP Restriction

    Release Notes

    28
    • Introduction to Release Notes
    • 2025
      • 2025-06
      • 2025-05
      • 2025-04
      • 2025-03
      • 2025-02
      • 2025-01
    • 2024
      • 2024-12
      • 2024-11
      • 2024-10
      • 2024-09
      • 2024-08
      • 2024-07
      • 2024-06
      • 2024-05
      • 2024-04
      • 2024-03
      • 2024-02
      • 2024-01
    • 2023
      • 2023-12
      • 2023-11
      • 2023-10
      • 2023-06
      • 2023-05
      • 2023-04
    • Archive
      • Archive
      • 2022
      • 2021
    View Categories
    • Home
    • Documentation
    • Cyclr Console
    • Handle transaction errors

    Handle transaction errors

    4 min read

    Cyclr can be configured to make an HTTP Request if an error occurs in a running Cycle as a way of alerting you or your support staff.

    This is performed as an HTTP POST Request to a URL you specify and contains JSON structured data in its Request Body.

    The URL could be for an external system, or for a Webhook Step in a Template or Cycle within your Cyclr Partner, allowing you to process the data using Decision Steps, etc as you would any other data in Cyclr. You could install a Slack or SendGrid Connector as a way to alert you and perhaps one of the database Connectors to log the data as well.

    If you choose to use a Template or Cycle for this, you should install the Error Webhook Connector which knows the structure of the Request Body so is simpler to setup than using a standard Generic Webhook Connector’s Webhook Method.

    Handling these Errors within Cyclr #

    1. We’d recommend creating a separate Folder perhaps called “Monitoring” to put your Template or Cycle into. It’s up to you whether you do this in your Cyclr Console as a Template or create a new Account dedicated to these sorts of tasks.
    2. Install the Error Webhook Connector – it has a Webhook Method which knows the structure of Cyclr’s error Requests.
    3. Add that Connector’s Webhook Step to your Cycle.
    4. In the Webhook’s Step Setup, copy the Webhook URL.
    5. Go to your Cyclr Console, and select Settings > General Settings.
    6. Tick the box for Enable Transaction Error Webhook
    7. Paste in the URL you copied in Step 4.
    8. Click Save.

    Now you can go back to the Cycle where you added the Webhook Step, and add any Decision Steps, etc to filter how errors will be handled.

    In the example below, any errors relating to “Account 12345” will trigger a message in Slack.

    Warning: If you do choose to have Cyclr handle errors in this way, be aware that any errors that occur within your error-handling integration will trigger further errors to be sent and handled by that integration.
    You should therefore try to keep the integration simple.
    You might also consider adding some Script to the Webhook Step to skip errors from itself, e.g.:

    function before_webhook() {
      // Skip errors relating to this Cycle.
      return (method_request.CycleId !== '<YOUR ERROR HANDLING CYCLE'S ID>');
    }

    Account-level Override #

    If you wish, you can choose to handle errors in particular Cyclr Accounts differently by using the Account-level override.

    In your Cyclr Console, go to the Accounts menu then Account Management, click Settings for the Account you wish to set this for and use the Transaction Error Webhook options.


    Example Transaction Error Webhook Payload #

    The information in the Detail property will contain the Response that was received.

    This means it will change dependant on the API being called and how it formats its error Responses.

    If there are specific errors you wish to handle, you may need to force them to occur so that you can view the Response to see how that appears.

    {
        "Timestamp": "2023-04-11T07:37:47.455544Z",
        "AccountId": "0bd9f087-8db9-46e9-8640-e8eb8a6fd635",
        "AccountExternalId": "0bd9f087-8db9-46e9-8640-e8eb8a6fd635",
        "AccountName": "Templates",
        "CycleId": "a2115f94-4ee6-4c4b-a03c-f89ce5ec41ed",
        "CycleName": "SF Updated Opps to Google",
        "StepId": "5c881e9f-5a38-4544-9b36-562baf4a2e71",
        "StepName": "Get Account",
        "StepType": 1,
        "TransactionId": "284bc7b4-4321-4c97-aa2f-370f9627d244",
        "Message": "Failed to call the method",
        "Detail": "404 Not Found\r\n[{\"errorCode\":\"NOT_FOUND\",\"message\":\"Provided external ID field does not exist or is not accessible: AAA\"}]\r\n\r\n\r\nHTTP Request:\r\nGET https://dw0000000ljgkeaa-dev-ed.my.salesforce.com/services/data/v43.0/sobjects/Account/AAA?fields=Name HTTP/1.1\r\nAccept: application/json\r\nAuthorization: REDACTED\r\nUser-Agent: Cyclr, (https://cyclr.com)",
        "IncidentLevel": "Error"
    }
    
    

    List of possible Message responses #

    • Trigger Skipped
    • Transaction Stopped
    • Out of retries
    • Failed to authenticate the connector
    • Required source is empty
    • Webhook failed
    • Failed to build the request
    • Response data not in expected format
    • Failed to call the method
    • Response data fields missing
    • Step data cannot be split
    • Failed to split transaction step data
    • Failed to save the webhook response
    • Failed to return the webhook response
    • Failed to build the webhook response
    • Failed to find the webhook source key
    • Failed to get webhook trigger step data
    • Failed to find webhook trigger step
    • Wait Until Failed To Run
    • Wait Until is over retention period
    • Field is not a valid DateTime
    • WaitUntil step is missing wait criteria
    Share This Article :
    • Facebook
    • X
    • LinkedIn
    • Pinterest
    Custom Service DomainsPayload Size Limitations
    Page Contents
    • Handling these Errors within Cyclr
      • Account-level Override
    • Example Transaction Error Webhook Payload
      • List of possible Message responses

    Company

    • Company
    • About Us
    • Security and Compliance
    • Pricing
    • Blog
    • Branding
    • Embedded iPaaS

    Legal

    • Website Terms
    • Privacy Policy
    • Terms and Conditions
    • Data Protection Agreement
    • SLA
    • GDPR

    UK Office

    +44 (0) 3300 102 525

    US Office

    +1 (646) 585-2525


    White labelled API integration framework for creating & managing in-app SaaS integrations.

    © 2025 Cyclr. All rights reserved.