티스토리 뷰
Computer Science/에러 기록 정리
[boto3]An error occurred (404) when calling the HeadObject operation
JG Ahn 2019. 11. 13. 17:29Environment
- python 3.7
Error
- An error occurred (404) when calling the HeadObject operation
Situation
- boto3을 사용해 s3에서 파일을 다운로드할 때 해당 에러가 발생한다
import boto3
FILE_PATH = 'image/atv_rider0001.jpg'
BUCKET_NAME = 'flxr_yolo'
KEY = 'image/atv_rider0001.jpg'
client = boto3.client('s3')
client.download_file(BUCKET_NAME, KEY, FILE_PATH)
Solution
- Bucket의 이름이 잘못 표기되어 있었다..
- 정확한 이름 : flxr-yolo로 변경하니 제대로 작동한다.
- 다른 자료들을 찾아보니 대부분 경로 설정이나 오타와 같은 단순한 문제였다
Ref
'Computer Science > 에러 기록 정리' 카테고리의 다른 글
Colab과 Google drive를 사용하면서 일어난 불편한 일들 (4) | 2020.06.28 |
---|---|
[AWS Lambda]errno 30 read-only file system (0) | 2019.11.13 |
[boto3]The AWS Access Key Id you provided does not exist in our records. (0) | 2019.11.12 |
[boto3]ImportError: No module named boto3 (0) | 2019.11.12 |
[keras]UserWarning: The input 10 could not be retrieved. It could be because a worker has died. UserWarning) (0) | 2019.11.07 |
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- RNN
- nlp 트렌드
- MFCC
- 오디오 전처리
- LSTM
- stft
- 인공지능 스피커 호출
- S3
- librosa
- wavenet
- MIT
- nlp
- Introduction to Algorithm
- lambda
- 알고리즘 강의
- nlg
- AWS
- TF2.0
- tensorflow
- 6.006
- keras
- Tensorflow2.0
- aws cli
- 시계열
- netron
- 핵심어 검출
- boto3
- 알고리즘
- 모델 시각화
- BOJ
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
글 보관함