You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request. Searching for pre-existing feature requests helps us consolidate datapoints for identical requirements into a single place, thank you!
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
If you are interested in working on this issue or have submitted a pull request, please leave a comment.
Overview of the Issue
While setting up Atlantis, the webhook would fire, but return "Ignoring unsupported event" for supported events. After building the image locally with extra debug steps, I was able to determine the line and get a better error message Error parsing webhook: json: cannot unmarshal array into Go struct field Repository.repository.custom_properties of type string . When I removed the value from custom properties I had set on my repo, the issue went away
The text was updated successfully, but these errors were encountered:
I found a similar discussion regarding the issue of "Ignoring unsupported event" when custom properties are set. In this discussion, a user experienced a similar problem where custom properties on their GitHub repository caused the webhook parsing to fail. The solution was to remove the custom properties, which resolved the issue [1].
It seems that the custom properties in the webhook payload might not be handled correctly by Atlantis, leading to parsing errors. If you have custom properties set, consider removing them to see if it resolves the issue.
Community Note
Overview of the Issue
While setting up Atlantis, the webhook would fire, but return "Ignoring unsupported event" for supported events. After building the image locally with extra debug steps, I was able to determine the line and get a better error message
Error parsing webhook: json: cannot unmarshal array into Go struct field Repository.repository.custom_properties of type string
. When I removed the value from custom properties I had set on my repo, the issue went awayThe text was updated successfully, but these errors were encountered: