Toucan 3.0
YouPrep documentationHelp centerGet a demo
  • Welcome
    • 👋Welcome to Toucan
    • ⚙️Technical resources
      • ⚙️Toucan stack
      • Setup mode
        • Toucan SaaS mode
      • ⚙️Security
        • Application Security
        • Source Code Quality
        • Global Security Practices
        • Security of Docker Images
  • TUTORIALS
    • 📊Getting Started : Embedded Analytics
    • 🤓Advanced tutorials
      • Embedding a story with user attributes
        • Dynamic filter with user attributes
        • Dynamic Tables
        • Dynamic Database
        • Dynamic Host
      • Using the HTTP API connector in advanced use cases
      • Using advanced syntax for SQL queries
      • Merging filters with our tool
      • Deep customization chart (CSS)
        • Homepage customization
        • Chart customization
        • Dashboard customization
  • Data Management
    • 🧮Overview of Data In Toucan
    • 📡Datasources in Toucan
      • 🔌Managing Connectors
        • 🔌Creating, editing and deleting a connector
        • 🔌Set up OAuth2 credentials for your platform
        • 🔌Setting up a connector
          • 🔌Generic Connectors
            • 🔌Setting up an HTTP API connector
            • 🔌Setting up an ODBC Connector
          • 🔌Database and data warehouse Connectors
            • 🔌Setting up an AWS Redshift Connector
            • 🔌Setting up a Snowflake Connector
            • 🔌Setting up a PostgreSQL Connector
            • 🔌Setting up a Google Big Query Connector
            • 🔌Setting up an AWS Athena connector
            • 🔌Setting up a MySQL connector
            • 🔌Setting up a MongoDB connector
            • 🔌Setting up a Microsoft SQL Server connector
            • 🔌Setting up an Azure SQL connector
            • 🔌Setting a Databricks Connector
            • 🔌Setting up a ElasticSearch Connector
            • 🔌Setting up a Clickhouse Connector
          • 🔌Online services connectors
            • 🔌Setting up a Sharepoint Connector
            • 🔌Setting up a Google Sheets Connector
            • 🔌Setting up a Salesforce Connector
            • 🔌Setting up a Hubspot Connector
          • 🔌Setting up an AWS S3 connector
      • 📁Managing Files
        • 📁Adding, editing and deleting local files
        • 📂Using advanced file settings
        • 📁Adding and combining remote files in Toucan
    • 🔢Datasets in Toucan
      • 🔢Stored and Live Datasets
      • 💿Managing datasets
        • 🔢Creating datasets
        • 🔢Editing, Duplicating and Deleting a dataset
        • 🔢Refreshing and Publishing Datasets
        • 📈Optimize data performance
        • 🗂️Adding indexes to stored datasets
        • 👩‍💻Code mode and single mode
      • 🛑Setting permissions on dataset
      • 🗃️Maintaining Data
        • 🗃️Tagging datasets
        • 🗃️Identifying datasets dependencies
        • 🗃️Set validation rules
    • 🧑‍🍳Preparing data
      • Overview of YouPrep™
        • 🎹Column header
          • Rename column
          • Duplicate column
          • Fill null values
          • Replace values
          • Sort values
          • Convert columns data types
        • Add
          • Add text column
          • Add formula column
          • Add conditional column
        • Filter
          • Delete columns
          • Keep columns
          • Filter rows
          • Top N rows
          • ArgMax
          • ArgMin
        • Aggregate
          • Group by
          • Add total rows
          • Hierarchical rollup
          • Get unique groups/values
        • Compute
          • Compute evolution
          • Cumulated sum
          • Percentage of total
          • Rank
          • Moving average
          • Compute statistics
          • Absolute value
        • Text
          • Concatenate
          • Split column
          • Extract substring
          • To lowercase
          • To uppercase
          • Compare text columns
          • Trim spaces
          • Replace text
        • Date
          • Convert text to date
          • Convert date to text
          • Extract date information
          • Add missing dates
          • Compute duration
        • Reshape
          • Pivot
          • Unpivot
          • Waterfall
        • Combine
          • Append datasets
          • Join datasets
        • Geo
          • Geographic dissolve
          • Geographic hierarchy
          • Geographic simplify
          • Prepare geo data (with basemap)
      • YouPrep™ Native SQL
      • Hybrid pipeline
    • ➿Managing variables in Toucan
      • ➿Variables hub
      • ♈Use variables in YouPrep™
      • ➿Easy reference to variables
    • 🧞Using advanced data concepts
      • 🧞Data personnalisation with user attributes
        • Connector setup with a user attribute
        • Database selection with a user attribute
        • YouPrep data filtering with a user attribute
        • Filter data in SQL with a user attribute
      • 🧞Advanced syntax for variables
      • 🧞Data cache
  • Visualizations and Layouts
    • 📺Apps
      • 📺Managing Apps
        • ➕Creating Apps
        • 📄Duplicating Apps
        • 🖨️Publishing Apps
        • 🚮Deleting Apps
        • ✍️Editing within an App
      • 🖌️Customizing Apps
        • Customizing chart color elements
        • Customizing the app's font
        • Adding Assets
        • Adding Glossary
        • Setting up, Managing and testing custom visibilities
        • Customizing the "no data error" message
        • Creating a dynamic background based on an Filter's column
      • 🏠Home
        • Creating the Home
        • Creating Tiles
          • Tile Dynamic Value
          • Tile Leaderboard
          • Tile Line
          • Tile Scorecard
          • Tile Bullet
          • Tile Heatmap
          • Tile PDF
          • Tile Video
          • Tile Image
          • Tile Text
          • Tile HTML
          • Tile Separator
      • ✨Stories
        • Creating a Story
        • KPIs
        • Narrative
        • Crossfilter
      • 📽️Filters
        • Managing Filters
          • Creating, reusing and editing Filters
          • Applying Filters
          • Unpinning and deleting Filters
        • Type of Filters
          • Dropdown
          • Checkboxes
          • Buttons
          • Date Range
          • Hierarchical
          • Slider
        • Templating from Filters' values
        • Dependant Filters
      • 📈PDF Report
      • 🎡Datawall
      • 🏗️Dashboard Builder
        • Create a Dashboard Builder
        • Embed a Dashboard Builder
        • Dashboard export options
      • 🌟MyFavorites
    • 📊Creating Visualizations
      • 🤩Viz Gallery
        • Barchart
        • Barlinechart
        • Bubblechart
        • Bulletchart
        • Circularchart
        • Funnelchart
        • Gantt chart
        • Heatmap
        • HTML
        • Leaderboard
        • Leaderboard Centered Average
        • Linechart
        • Mapchart
          • Configure a drill
        • Mediachart
        • Radarchart
        • Tablechart
        • Timeline
        • Versuschart
        • Waterfallchart
        • Score Card
        • Stacked Barchart
      • 🧠Common Chart Configuration
      • 💅Customizing chart colors
      • 🧞‍♂️Advanced chart configuration
        • Templating from chart's dataset
        • Add units, precisions and sentiments
        • Adding Tutorials
        • Add sparklines
        • Navigate with stories
        • Group informations in your stories
        • Multiple charts in one story
        • Manage dates
        • Customize tiles' sources
        • Add stars to tiles' title
        • Manage data order in your tiles
        • Navigate with tiles
    • 👩‍💻Embedding
      • 🔐Authentication
      • 🖇️Integration
        • Generate and manage embeds
        • Customize embeds
        • Embedding a Toucan App Using iFrames
        • Passing Extra Variables to Your Toucan Embed
      • ⚙️Embed SDK
        • Embed SDK Authentication
      • ❓FAQ
    • 🙋Self-Service
      • Self-Service Dashboard
      • Self-service PDF Report
  • Collaboration
    • ⏰Creating alerts
    • 📧Managing notifications
    • ➕Enriching a story with descriptions
    • 💌Sharing content
    • 💬Adding comments to stories
  • Administration
    • Page
    • ⚙️Instance Management
      • ⚙️Managing operations in SaaS
      • ⚙️Customizing your instance (whitelabel)
    • 👥Managing Users
      • 👥Users
      • 👥Managing user groups
      • 👥Managing user properties
      • 👥Setting up permissions and visibilities
    • 🌐Managing languages in Toucan (internationalisation)
    • 📈Monitoring Engagement with User Analytics
      • 🎛️How to Filter your User Analytics?
      • 🖥️Understanding your User Analytics Dashboards
  • Additional Ressources
    • 📚External documentation
    • 🚁Support for App-builders
    • 🆕Latest releases
      • 🎁2025 Releases
      • 🎁2024 Releases
      • 🎁2023 Releases
    • 🔧Troubleshooting
      • Troubleshoot:: DataHub
      • Cross-Site Cookies
      • How to :: read the inspector error
      • How to :: troubleshoot the toucan way
Powered by GitBook
On this page
  • Do you have a configuration problem or a data problem?
  • What do you mean by "looking at the right state of the application"?
  • How to track a configuration problem ?¶
  • How to track a data problem?
  • Inspect the data
  • Slides Specific Problems
  • Data Request Limit

Was this helpful?

  1. Additional Ressources
  2. Troubleshooting

How to :: troubleshoot the toucan way

Last updated 1 year ago

Was this helpful?

Do you have a configuration problem or a data problem?

There are three main reasons why you might not see what you're expecting:

  1. The data query used does not return the correct rows.

  2. The configuration options are not set correctly.

  3. You are not looking at the correct state of the application.

What do you mean by "looking at the right state of the application"?

Here are the actions you should check:

  • Are you looking at the correct environment (staging vs production)? When working on the app, you should always be in the staging environment.

  • Have you clicked on "Publish" to see the changes you made in staging?

  • If you created a new connector and a new dataset from it, have you relaunched a data populate?

The Chrome Dev Tools will be extensively used to debug the app, so we recommend you read the .

How to track a configuration problem ?¶

Identifying a configuration problem can be challenging. To address this, you can utilize the Chrome Developer Tools to inspect the application logs or examine the filters, dashboard, and configuration returned by the backend.

To begin, open the Chrome Dev Tools by right-clicking and selecting "Inspect".

Here are some common configuration problems:

  1. Generic problems:

  • Have you specified an id or parent_id for your slide?

  • Have you maintained the correct case when setting the columns in the label, value, groups, etc. entries? For example, Value != value.

  • Is your chartType valid?

  1. Precision, units, and sentiment:

  • If you are encountering issues with precision, units, or sentiment, refer back to the documentation. It's possible that you haven't correctly set the column name in your configuration.

  • Precision should be defined in the data block, while sentiment and units should be in the chartOptions.

  1. Crossfilter:

  • If you are configuring double charts (crossfilter), have you specified id: 0 and id: 1 for the charts?

  • If you are using crossfilter, have you included the datasets:[1] entry?

  • If you are crossfiltering on a date, are you treating the date consistently across both charts? For example, both charts should either have or not have a date: {selector:'', format: ''} block in the data query.

  1. Handling time:

  • If you want to configure a line chart, bar line chart, or stack bar chart that includes a date, ensure that you have included date: {selector:'',format:''} in your data block.

Click on the Console tab to view all the logs captured by the application. The application may provide warnings if an option is not set correctly, if a request fails, or if something appears broken.

How to track a data problem?

Tracking a data problem is relatively easy. You can use the Chrome Developer Tools to inspect the data returned by the backend.

Here are some common data configuration issues to consider:

  • Ensure that the domain used in your query matches the one specified in the etl_config or one that you can verify in the "available domains".

  • If you are using the Aggregation Framework, make sure to treat the data query as an array, like query: [], rather than a normal object. Also, remember to add commas to delimit your steps.

  • If you are using multiple queries, don't forget to include the multiple_queries:true option.

Inspect the data

In the Network Pane of the Chrome Dev Tools, locate the data requests.

You can examine each request and analyze the dependencies and usage of your data. This will help you determine if the obtained data matches your expectations.

If your request is highlighted in red with a 500 error code, it could mean one of the following:

  • Your aggregation framework query is incorrect.

  • Your postprocess block is incorrect.

Slides Specific Problems

I don't see my slide

  • Does this slide have an existing parent_id and a unique id?

No Data Available

You are experiencing a data problem. The backend is not returning any data. Refer to "How to track a data problem."

If you're using a Google Spreadsheet data provider:

  1. Shipping variables

  • Is the optional google_spreadsheet connector enabled?

  1. Regarding the spreadsheet:

  • Does the sheet have the correct languages/internationalization settings? If your browser is in French, select "région suisse" and set number columns to "123 > nombre."

  • Is the decimal separator a period . and not a comma ,?

  • Are your dates in the correct format like "25/12/2015"?

Data Request Limit

To avoid performance issues, we have implemented a safeguard limit on the number of cells (lines x columns) that can be requested. At Toucan, we advise against displaying a large number of data entries at once as it can hinder the readability of your data story.

Reducing your request size

The recommended solution to resolve this issue is to filter out unnecessary columns or rows from your data. This is our suggested approach. It is possible that you are working with large datasets that you can reduce in size before displaying them in your story. If this is the case, the error is temporary and should not prevent you from saving your work.

Is the indentation correct? Use and an to ensure your blocks are properly aligned.

For precision, consult to ensure you are using the correct syntax.

Is the spreadsheet shared with: ?

🔧
documentation on how to use it
js2coffee
online JSON editor
this documentation
toucanserviceaccount@testproj-204816.iam.gserviceaccount.com