Gitlab::ImportExport::RemoteStreamUpload::StreamError: Invalid response code while uploading file. Code: 403 (Gitlab::ImportExport::RemoteStreamUpload::...

Sentry Issue: GITLABCOM-BZEE

Gitlab::ImportExport::RemoteStreamUpload::StreamError: Invalid response code while uploading file. Code: 403 (Gitlab::ImportExport::RemoteStreamUpload::StreamError)
  lib/gitlab/import_export/remote_stream_upload.rb:23:in `block (2 levels) in execute'
    raise StreamError.new("Invalid response code while uploading file. Code: #{response.code}", response.body)
  lib/gitlab/import_export/remote_stream_upload.rb:113:in `block (2 levels) in send_data'
    yield(response)
  lib/gitlab/import_export/remote_stream_upload.rb:112:in `block in send_data'
    http.request(request) do |response|
  lib/gitlab/import_export/remote_stream_upload.rb:106:in `send_data'
    http.start do
  lib/gitlab/import_export/remote_stream_upload.rb:21:in `block in execute'
    send_data(upload_url, response.content_length, chunks) do |response|
...
(191 additional frame(s) were not displayed)
Edited Jan 21, 2026 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading