Hi everyone! I'm trying to connect Claw (our internal tool) to our new CI/CD pipeline using a webhook. I've set up the receiver in a Python Flask app, but I'm running into a weird issue.
Sometimes the JSON payload from Claw is missing the `"build_id"` field, which my script needs. When it's missing, everything fails. I checked Claw's docs and it says the field should always be there. Here's the basic code I have so far:
```python
@app.route('/claw-webhook', methods=['POST'])
def handle_claw():
data = request.get_json()
build_id = data['build_id'] # This sometimes fails!
# ... rest of the logic
```
Has anyone seen something like this? Could it be a problem with how I'm listening, or maybe some events from Claw just don't have this field? Any beginner-friendly advice would be super appreciated! 😅
Thanks in advance for your help!