[go: up one dir, main page]

Skip to content

Export REST API with URL option responds accepted even though upload failed

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

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:

Import/Export documentation

Edited by 🤖 GitLab Bot 🤖