S3 Not Valid errror / Access Denied / Request is not yet valid

0

Hi All,

Good morning. This is my first time posting and I'm hoping someone can help me out... Today, my uploads stopped working and I'm getting an error that refrences server times... any idea why this is happening all of a sudden (its worked flawless up until today and no changes have been made on my side)

Error while uploading file to AWS. Please contact administrator.[Error Code AccessDenied /Code Message>Request is not yet valid /Message> <X-Amz-Date>... ....</X-Amz-Date Expires>2021-12-29T14:41:13Z Expires><ServerTime>2020-12-28T14:41:13Z</ServerTime>]

ANY help would be greatly apprecited

Edited by: 401admin on Dec 28, 2020 7:50 AM

Edited by: 401admin on Dec 28, 2020 7:51 AM

質問済み 3年前494ビュー
3回答
0

Hi, I'm getting the same error probably from Yesterday, too . Have you found the reason for the error?

回答済み 3年前
0

I was having the same issue and found the solution, its looks like in your code to make request to AWS and to provide current dateTime , you may be using YYYY instead of yyyy.

Since its last week of calendar and if you using YYYY it will return year as 2021 , so use yyyy it will return actual year 2020.

Update date on both header :
X-Amz-Credential and X-Amz-Date.

回答済み 3年前
0

Thank you for the info, this makes perfect sense.

Edited by: 401admin on Dec 30, 2020 1:10 PM

回答済み 3年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ