gitlab4j-api
gitlab4j-api copied to clipboard
Deployment webhook event 'deployable_id' exceeds Java Int range
When revieving deployment event with a deployable_id
that's too large, Jackson is failing to convert the JSON body to an object:
! com.fasterxml.jackson.core.exc.InputCoercionException: Numeric value (3110732268) out of range of int (-2147483648 - 2147483647)
Here is the deployment event received, please note that we sanitized some of the fields for privacy sake:
{
"object_kind": "deployment",
"status": "running",
"status_changed_at": "2022-09-30 14:38:50 +0000",
"deployment_id": 355739973,
"deployable_id": 3110732268,
"deployable_url": "<SANITIZED>",
"environment": "<SANITIZED>",
"project": {
"id": 25450874,
"name": "<SANITIZED>",
"description": "<SANITIZED>",
"web_url": "<SANITIZED>"
}
....
}
Hello,
Which version of gfitlab4j-api do you use? Can you try with the latest version? 5.0.1