Fix DAST API automatic release creation
The production release process for DAST API is failing to create the Release via the API:
Error, Status Code was 500, but wanted 200
Response body:
An error has occurred and reported in the system's low-level error handler.
This has happened the last three releases:
- 2023-07-19: https://gitlab.com/gitlab-org/security-products/analyzers/api-fuzzing-src/-/jobs/4688625661
- 2023-10-03: https://gitlab.com/gitlab-org/security-products/analyzers/api-fuzzing-src/-/jobs/5215074538
- 2023-10-10: https://gitlab.com/gitlab-org/security-products/analyzers/api-fuzzing-src/-/jobs/5262858849
The latest instance has the response headers in the job log.
Per this Slack thread, the error is supposed to be logged in Sentry, but I have not been able to find it either time (Sentry query); the error message appears, but not at the correct time.
Edited by David Nelson