Flagsmith / Flagsmith/flagsmith

Sendgrid API calls raising HTTP 400 Bad Requests

Open
#7,353 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
6.6k
Forks
567
Avg merge
1d 13h
Merged PRs (30d)
121

Description

Sentry Issue: [FLAGSMITH-API-4XZ](https://flagsmith.sentry.io/issues/5746815615/?referrer=github_integration)

```
BadRequestsError: HTTP Error 400: Bad Request
(3 additional frame(s) were not displayed)
...
File "organisations/tasks.py", line 144, in handle_api_usage_notifications
handle_api_usage_notification_for_organisation(organisation)
File "organisations/task_helpers.py", line 182, in handle_api_usage_notification_for_organisation
_send_api_usage_notification(organisation, matched_threshold)
File "organisations/task_helpers.py", line 86, in _send_api_usage_notification
send_mail(

Error processing api usage for organisation REDACTED
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.