I'm getting these errors when accessing my deployed app:
{
clientName: 'S3Client',
commandName: 'GetObjectCommand',
input: {
Bucket: 'doutor-sim-dev-doutorsimassets-bornuaok',
Key: '_cache/__fetch/SkKefIaxlUil7N2C5yboG/798268c93d5277a6d976a47d5b32349c99b1f82a52275be21ea9426701d313bd'
},
error: AccessDenied: Access Denied
at Oq (file:///var/task/index.mjs:12:4767)
at file:///var/task/index.mjs:12:4908
at K (file:///var/task/index.mjs:44:75449)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async file:///var/task/index.mjs:3:9009
at async file:///var/task/index.mjs:44:6976
at async file:///var/task/index.mjs:12:11162
at async file:///var/task/index.mjs:47:47451
at async file:///var/task/index.mjs:43:42211
at async file:///var/task/index.mjs:43:42556 {
'$fault': 'client',
'$metadata': {
httpStatusCode: 403,
requestId: 'XDAQHE6B9NVHPRS2',
extendedRequestId: 'kG34AdtJCwyczVCQQWQHIsDqr/Z4WmaCuYs73zni8R0EIQ9wrn1lmWf6Qb6OTSANSvxmnQaNXqQ=',
cfId: undefined,
attempts: 1,
totalRetryDelay: 0
},
Code: 'AccessDenied',
RequestId: 'XDAQHE6B9NVHPRS2',
HostId: 'kG34AdtJCwyczVCQQWQHIsDqr/Z4WmaCuYs73zni8R0EIQ9wrn1lmWf6Qb6OTSANSvxmnQaNXqQ='
},
metadata: {
httpStatusCode: 403,
requestId: 'XDAQHE6B9NVHPRS2',
extendedRequestId: 'kG34AdtJCwyczVCQQWQHIsDqr/Z4WmaCuYs73zni8R0EIQ9wrn1lmWf6Qb6OTSANSvxmnQaNXqQ=',
cfId: undefined,
attempts: 1,
totalRetryDelay: 0
}
}
Failed to get fetch cache AccessDenied: Access Denied
at Oq (file:///var/task/index.mjs:12:4767)
at file:///var/task/index.mjs:12:4908
at K (file:///var/task/index.mjs:44:75449)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async file:///var/task/index.mjs:3:9009
at async file:///var/task/index.mjs:44:6976
at async file:///var/task/index.mjs:12:11162
at async file:///var/task/index.mjs:47:47451
at async file:///var/task/index.mjs:43:42211
at async file:///var/task/index.mjs:43:42556 {
'$fault': 'client',
'$metadata': {
httpStatusCode: 403,
requestId: 'XDAQHE6B9NVHPRS2',
extendedRequestId: 'kG34AdtJCwyczVCQQWQHIsDqr/Z4WmaCuYs73zni8R0EIQ9wrn1lmWf6Qb6OTSANSvxmnQaNXqQ=',
cfId: undefined,
attempts: 1,
totalRetryDelay: 0
},
Code: 'AccessDenied',
RequestId: 'XDAQHE6B9NVHPRS2',
HostId: 'kG34AdtJCwyczVCQQWQHIsDqr/Z4WmaCuYs73zni8R0EIQ9wrn1lmWf6Qb6OTSANSvxmnQaNXqQ='
}
The app works fine with sst dev next dev, this problem only happens on the deployed version (sst deploy).
I'm getting these errors when accessing my deployed app:
The app works fine with
sst dev next dev
, this problem only happens on the deployed version (sst deploy
).My SST config file:
My
package.json
: