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

GitHub issues.opened and issues.labeled webhook always failed due to SQL error #158

Closed
kentwelcome opened this issue Feb 29, 2024 · 1 comment
Labels
bug Something isn't working good first issue Good for newcomers webhooks GitHub and Linear webhook listeners; routing; verification; return objects

Comments

@kentwelcome
Copy link
Contributor

kentwelcome commented Feb 29, 2024

When configuring the SyncLinear on my GitHub repo, I found the issues.opened and issues.labeled always got response 500 from synclinear.com/api in my GitHub webhook history log.

Seems the schema of the GitHub Issue ID in SyncLinear DB is INT4 (32bits). However, the GitHub Issue ID was already bigger than 32 bits.

Please reference the following response payload by POST https://synclinear.com/api

{
  "success": false,
  "message": "\nInvalid `prisma.syncedIssue.create()` invocation:\n\n\nError occurred during query execution:\nConnectorError(ConnectorError { user_facing_error: None, kind: QueryError(Error { kind: ToSql(3), cause: Some(Error { kind: ConversionError(\"Unable to fit integer value '2160748434' into an INT4 (32-bit signed integer).\"), original_code: None, original_message: None }) }), transient: false })"
}
@maige-app maige-app bot added bug Something isn't working webhooks GitHub and Linear webhook listeners; routing; verification; return objects labels Feb 29, 2024
@tedspare tedspare added the good first issue Good for newcomers label Mar 4, 2024
@tedspare
Copy link
Collaborator

tedspare commented Mar 7, 2024

Closed by #159

@tedspare tedspare closed this as completed Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers webhooks GitHub and Linear webhook listeners; routing; verification; return objects
Projects
None yet
Development

No branches or pull requests

2 participants