- 最新
- 最多得票
- 最多評論
Thanks for the screenshot. If you copied the content from the documentation, it looks like there is a blank-space infront of the curly brace of line 1 in the policy. Just delete that blankspace to and try saving the policy i.e. the first character of the policy should be {
Before you correct this, if you expand the arrow infront of 'API Response', you could probably see a message like this --> "Policies must be valid JSON and the first byte must be '{'"
What is the error description/response? Is this error while creating the policy? If so, worth checking the syntax of the policy. Here is an example policy -
Here is the message when I try to create the policy. The error message appears when I try to create the policy. The syntax of the policy shouldn't be a problem, as I copy and paste the policy and replace the Bucket name with my bucket name.
JSON Ln 13, Col 44
Unknown Error An unexpected error occurred. API response
相關內容
- 已提問 1 年前
- AWS 官方已更新 1 年前
- AWS 官方已更新 9 個月前
- AWS 官方已更新 2 年前
- AWS 官方已更新 2 年前
Thank you Rajesh