keyshade icon indicating copy to clipboard operation
keyshade copied to clipboard

API: Error while hard syncing a project

Open rajdip-b opened this issue 5 months ago • 2 comments

Describe the bug

When we try to sync a project with hard-sync on, we are getting a unique constraint error.

To Reproduce Steps to reproduce the behavior:

  1. Turn on the API
  2. Go to ProjectController in Postman
  3. Use Create Project to create a project.
  4. Fork this project using Fork Project endpoint.
  5. Use the Sync Fork endpoint and try to sync the forked project
  6. Make sure you set hardSync=true
  7. Observe the error

Expected behavior

The sync should happen without any errors

Screenshots

image

rajdip-b avatar Sep 20 '24 14:09 rajdip-b