Webhook response: Ignoring unsupported event #5010
-
I'm in the process of moving my repositories from ADO to GitHub. I have a few repositories that use Atlantis. I've setup Atlantis to use GH instead of ADO, and have setup the GH app for Atlantis. When a PR is created, commented on, etc. I can see that the webhook is firing, however the response from Atlantis is 200 - Ignoring unsupported event X-Github-Delivery I'm running 0.30.0 currently. I've even set a webhook up manually to validate that it had nothing to do with the app with the same result. Looking at the container logs, it doesn't tell me anything else other than the hook was received and it was an unsupported event. I did find a couple of discussions that mention the same issue but they are years old and don't have a resolution in the comments. My repo allow list is '*' to eliminate that as a potential issue. I'm not sure what to look at next. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hey @chriscapell! I'm here to help you with any bugs, questions, or contributions. Let's work on resolving this issue together. I found a similar open issue that might be relevant to your situation: [Question] are push events just ignored by Atlantis?. This issue is still open and was last updated on September 19, 2024, but it doesn't have any comments or a solution yet [1]. Additionally, there is a discussion titled Github webhook integration error - Ignoring unsupported event X-Github-Delivery that might be related to your problem. However, this discussion is also unsolved [2]. For your setup, ensure that the GitHub events you want Atlantis to process are correctly configured. According to the documentation, Atlantis supports the following GitHub events:
Make sure these events are selected in your GitHub webhook configuration [3]. If the events are correctly configured and you're still encountering issues, it might be worth checking the |
Beta Was this translation helpful? Give feedback.
-
I figured it out so I'm going to share. I had some custom properties set on my GitHub repo. This caused the parsing of the webhook to fail. The fix was to remove the custom properties. I just removed the value that I had set. Hopefully this helps someone else at some point. |
Beta Was this translation helpful? Give feedback.
I figured it out so I'm going to share. I had some custom properties set on my GitHub repo. This caused the parsing of the webhook to fail. The fix was to remove the custom properties. I just removed the value that I had set. Hopefully this helps someone else at some point.