Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Missing session_id causing quarantine rows #103

Open
kristianeaw opened this issue Oct 30, 2024 · 1 comment
Open

[Bug] Missing session_id causing quarantine rows #103

kristianeaw opened this issue Oct 30, 2024 · 1 comment
Assignees
Labels
bug Something isn't working triage Triage

Comments

@kristianeaw
Copy link

Module

Tracker

Describe the Bug

When using the tracking-script, quite a lot of rows end up in quarantine because they are missing a session_id. So far i have 340 correct rows and 150 in quarantine, so almost 1/3 of rows cannot be ingested.

Expected Behavior

I would expect session_id to have a fallback value, so that rows can be ingested properly.

To Reproduce

  1. Add script to header in next.js app
<script
          defer
          src="https://unpkg.com/@tinybirdco/flock.js"
          data-host="https://api.tinybird.co"
          data-token={process.env.NEXT_PUBLIC_TINYBIRD_TOKEN}
        />
  1. Rows end up in quarantine with error message ['Strict type checking failed. Object does not have column \'session_id\', you should send a value or recreate the table with a Nullable column type. While accessing jsonpath \'$.session_id\'']

Details

No response

@kristianeaw kristianeaw added bug Something isn't working triage Triage labels Oct 30, 2024
@ErisDS
Copy link

ErisDS commented Nov 22, 2024

I'm seeing this error happening a lot too!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage Triage
Projects
None yet
Development

No branches or pull requests

3 participants