synclinear.com: `Failed to save sync` after Linear team fails to save

We were wanting to try out your product but running into an error Failed to save sync. when attempting to link the Github webhook to our Linear webhook. When looking at the deployed webhook on the Github side, it says Last delivery not successful. Invalid HTTP response: 404 error.

Any advice?

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 19

Most upvoted comments

@vsreekanti thanks for the solution. We’ve added support for non-default workflow labels in 318ff31d0ec2ab394c9dd298c66e8cecdb9c03f0.

Please let me know if you see the same (or a new) error!

I was able to track this down to being an issue with the way that Linear states are mapped onto GitHub states here. This is hardcoding the state labels to be the default from Linear, and we had customized them in our team, so this operation was failing silently.

In the short run, I was able to fix this by modifying the code here and self-hosting, but I imagine this will be an issue for other teams as well. I think the best solution would probably be to pull in the workflow states from Linear and then show a UI element asking users to map their canceled/done/todo states manually if they don’t use the default labels.

Dealing with this too!

I tried creating a new team in Linear that had no tickets, and it worked fine on that. However, when using an existing team in linear it is struggling with this error.

Same for me. I just filed #68 since having sourcemaps would greatly help with debugging this.

Same thing is happening for me for this repo: https://github.com/zed-industries/community