You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, I want to thank you for providing your code and all the support on the occurring issues!
Unfortunately, I had the same issues as user ghost in closed issue #9. I followed the advice in the corresponding thread. Everything worked out except for the
"botocore.exceptions.ClientError: An error occurred (403) when calling the HeadObject operation: Forbidden" occurring for me again. In the thread, the issue was said to be fixed, but it now seems like it has reappeared. Do you have any advice? Would it maybe be possible to re-open the issue?
Heres the full error log:
Downloading and extracting relatedTo...
Traceback (most recent call last):
File "download_utility/download_relations.py", line 68, in <module>
sys.exit(main(sys.argv[1:]))
File "download_utility/download_relations.py", line 64, in main
download(rel, args.data_dir)
File "download_utility/download_relations.py", line 36, in download
bucket_name="wluper-retrograph"
File "/usr/local/lib/python3.7/dist-packages/waws/bucket_manager.py", line 76, in download_file
bucket.download_file( final_remote_path, final_local_path )
File "/usr/local/lib/python3.7/dist-packages/boto3/s3/inject.py", line 283, in bucket_download_file
Config=Config,
File "/usr/local/lib/python3.7/dist-packages/boto3/s3/inject.py", line 195, in download_file
callback=Callback,
File "/usr/local/lib/python3.7/dist-packages/boto3/s3/transfer.py", line 320, in download_file
future.result()
File "/usr/local/lib/python3.7/dist-packages/s3transfer/futures.py", line 103, in result
return self._coordinator.result()
File "/usr/local/lib/python3.7/dist-packages/s3transfer/futures.py", line 266, in result
raise self._exception
File "/usr/local/lib/python3.7/dist-packages/s3transfer/tasks.py", line 269, in _main
self._submit(transfer_future=transfer_future, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/s3transfer/download.py", line 357, in _submit
**transfer_future.meta.call_args.extra_args,
File "/usr/local/lib/python3.7/dist-packages/botocore/client.py", line 530, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/usr/local/lib/python3.7/dist-packages/botocore/client.py", line 960, in _make_api_call
raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (403) when calling the HeadObject operation: Forbidden
Hi,
First of all, I want to thank you for providing your code and all the support on the occurring issues!
Unfortunately, I had the same issues as user ghost in closed issue #9. I followed the advice in the corresponding thread. Everything worked out except for the
"botocore.exceptions.ClientError: An error occurred (403) when calling the HeadObject operation: Forbidden" occurring for me again. In the thread, the issue was said to be fixed, but it now seems like it has reappeared. Do you have any advice? Would it maybe be possible to re-open the issue?
Heres the full error log:
Originally posted by @alexander-fichtl in #9 (comment)
The text was updated successfully, but these errors were encountered: