Skip to content

Foreign key constraint failed on the field: syncs_linearTeamId_fkey (index) #148

@NathanFlurry

Description

@NathanFlurry

Symptoms

When trying to select a GitHub repo, we get this error:

Failed to save sync with error:

Invalid prisma.sync.upsert() invocation:

Foreign key constraint failed on the field: syncs_linearTeamId_fkey (index)

Steps to reproduce

  1. This is our current configuration on synclinear.com (production).
    image
  2. Select a brand new Linear team (not previously linked)
  3. Select a repo (not previously linked)
  4. Receive the error

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdashboardDashboard; sign-up and sync flow; sync removal; configuration

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions