---
title: Memos 使用 Google cloud stroage S3 語法踩雷
updated: 2025-11-06 06:54:07Z
created: 2025-11-06 06:44:00Z
latitude: 25.03296940
longitude: 121.56541770
altitude: 0.0000
---

問 GPT 的地方

https://chatgpt.com/c/690c3637-acb4-8324-91f6-504a2e26a49a

&nbsp;

怎麼試都不行

參數在這邊：[memos s3 設定](../0.新材料/memos%20s3%20設定.md)

&nbsp;

可以下這些指令，但都有錯誤：

```

aws configure --profile gcs-xml

aws s3 cp test.txt s3://memos-m3m05/memos-test.txt   --endpoint-url https://storage.googleapis.com   --profile gcs-xml --no-progress
upload failed: ./test.txt to s3://memos-m3m05/memos-test.txt An error occurred (SignatureDoesNotMatch) when calling the PutObject operation: Invalid argument.

aws s3api put-object   --bucket memos-m3m05   --key memos-test.txt   --body test.txt   --endpoint-url h
ttps://storage.googleapis.com   --profile gcs-xml

An error occurred (SignatureDoesNotMatch) when calling the PutObject operation: Invalid argument.


```


P.S. 安裝 aws cli 可以參考這個
https://docs.aws.amazon.com/zh_tw/cli/latest/userguide/getting-started-install.html

