How to delete an "Invalid release version"?

Due to a bug in the python set-up code, a non-negligible number of events got sent with the following release string:

foo-bar@<module 'foobar.__version__' from '/app/foobar/__version__.py'>

(There’s been a confusion regarding str() and python’s import mechanisms :slight_smile: )

In any case, I cannot access the release at all through the Web UI (I simply get an “There was an error loading data.” error), and when I try to delete it through the cli:

$ sentry-cli releases delete "foo-bar@<module 'foobar.__version__' from '/app/foobar/__version__.py'>"
error: Invalid value for '<VERSION>': Invalid release version. Slashes and certain whitespace characters are not permitted.

What now?

Might related to Release Tracking: There was an error loading data