Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

S3 - Error PutObject - file not found #1982

Open
nebnes opened this issue May 20, 2022 · 0 comments
Open

S3 - Error PutObject - file not found #1982

nebnes opened this issue May 20, 2022 · 0 comments

Comments

@nebnes
Copy link

nebnes commented May 20, 2022

I receive a "file not found" error on a PutObject request which seems strange. I don't know if my problem comes from Minio (which I use for local development), from Rusoto or from my side.

Do you have any clue about this type of error?

Here is the Minio log:

API: PutObject
Time: Fri May 20 2022 15:19:41 GMT+0200 (Central European Summer Time)
DeploymentID: d85dab42-d42a-42f1-af1e-532bc215e3c0
RequestID: 16F0D94B6D4D1E40
RemoteHost: 172.18.0.58
UserAgent: rusoto/0.47.0 rust/1.60.0 linux
Error: file not found (cmd.StorageErr)

Backtrace: 
0: cmd/fs-v1-helpers.go:360:cmd.fsRenameFile()
1: cmd/fs-v1.go:1107:cmd.(*FSObjects).putObject()
2: cmd/fs-v1.go:1012:cmd.(*FSObjects).PutObject()
3: cmd/object-handlers.go:1826:cmd.objectAPIHandlers.PutObjectHandler()
4: net/http/server.go:2047:http.HandlerFunc.ServeHTTP()

Rusoto return by error :

Request ID: None Body: 
<?xml version="1.0"?>
<Error>
  <Code>NoSuchKey</Code>
  <Message>The specified key does not exist.</Message>
  <Key>folder/a25eeccd-dff1-49d2-87f1-efc2f8470ed3.jpg</Key>
  <BucketName>test</BucketName>
  <Resource>/test/folder/a25eeccd-dff1-49d2-87f1-efc2f8470ed3.jpg</Resource>
  <RequestId>16F0D94B6D4D1E40</RequestId>
  <HostId>d85dab42-d42a-42f1-af1e-532bc215e3c0</HostId>
</Error>

Thanks in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant