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

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

Open
NathanFlurry opened this issue Dec 11, 2023 · 1 comment
Labels
bug Something isn't working dashboard Dashboard; sign-up and sync flow; sync removal; configuration

Comments

@NathanFlurry
Copy link

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
@maige-app maige-app bot added bug Something isn't working dashboard Dashboard; sign-up and sync flow; sync removal; configuration labels Dec 11, 2023
@IliaZolas
Copy link

Just to confirm... I am having similar errors trying to deploy webhooks to linear as well as github. Tried deleting them in my repo and linear settings and retrying the sync but same errors popped up including error saving labels to DB: ApolloError: Duplicate label name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dashboard Dashboard; sign-up and sync flow; sync removal; configuration
Projects
None yet
Development

No branches or pull requests

2 participants