diff --git a/src/sentry_plugins/bitbucket/client.py b/src/sentry_plugins/bitbucket/client.py
index <HASH>..<HASH> 100644
--- a/src/sentry_plugins/bitbucket/client.py
+++ b/src/sentry_plugins/bitbucket/client.py
@@ -41,6 +41,9 @@ class BitbucketClient(object):
         except HTTPError as e:
             raise ApiError.from_response(e.response)
 
+        if resp.status_code == 204:
+            return {}
+
         if json:
             return resp.json()
         else:
don't try to decode empty response bodies (#<I>)

* fixes SENTRY-3QF



* lint