S3 configuration failed

Following the instruction to setup save data on S3. Copied the script generated to bucket policy but cannot save. Error: “invalid principal in policy”

Would someone has idea on this?