Skip to content

File does not exist #86

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

Closed
codingjoe opened this issue Oct 9, 2018 · 0 comments
Closed

File does not exist #86

codingjoe opened this issue Oct 9, 2018 · 0 comments
Assignees
Labels

Comments

@codingjoe
Copy link
Owner

ClientError: An error occurred (403) when calling the HeadObject operation: Forbidden
  File "django/core/handlers/exception.py", line 35, in inner
    response = get_response(request)
  File "s3file/middleware.py", line 15, in __call__
    request.FILES.setlist(field_name, list(self.get_files_from_storage(paths)))
  File "s3file/middleware.py", line 23, in get_files_from_storage
    f = default_storage.open(path)
  File "django/core/files/storage.py", line 33, in open
    return self._open(name, mode)
  File "storages/backends/s3boto3.py", line 464, in _open
    f = S3Boto3StorageFile(name, mode, self)
  File "storages/backends/s3boto3.py", line 72, in __init__
    self.obj.load()
  File "boto3/resources/factory.py", line 505, in do_action
    response = action(self, *args, **kwargs)
  File "boto3/resources/action.py", line 83, in __call__
    response = getattr(parent.meta.client, operation_name)(**params)
  File "botocore/client.py", line 320, in _api_call
    return self._make_api_call(operation_name, kwargs)
  File "botocore/client.py", line 623, in _make_api_call
    raise error_class(parsed_response, operation_name)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant