Skip to content

Commit fbea2d1

Browse files
committed
Fix #49 large zip scenario file upload failure
When user uploads a large zip file for scenario file, the console generates an error message. "Error ETagMissing: No access to ETag property on response. Check CORS configuration to expose ETag header." Adding "ETag" header to ExposeHeaders will fix the error. I references https://docs.amplify.aws/lib/storage/getting-started/q/platform/js#amazon-s3-bucket-cors-policy-setup and aws-amplify/amplify-cli#297 for solutions.
1 parent e880248 commit fbea2d1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

deployment/distributed-load-testing-on-aws.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -633,6 +633,8 @@ Resources:
633633
- !Sub https://${ConsoleCloudFront.DomainName}
634634
AllowedHeaders:
635635
- '*'
636+
ExposedHeaders:
637+
- 'ETag'
636638
Tags:
637639
- Key: SolutionId
638640
Value: SO0062

0 commit comments

Comments
 (0)