Export REST API with URL option responds accepted even though upload failed
Steps to reproduce:
Send a POST
request to https://www.gitlab.com/api/v4/projects/:id/export
with access token as a query parameter. The body contains two lines:
upload[http_method]=PUT
upload[url]={presigned_aws_url_to_upload_to_s3_bucket}
As an example
It responds with 202 accepted
even though the presigned URL is invalid.
For a valid URL it responds the same way but however doesn't upload.
When checking the
For reference:
Edited by Olafur