Skip to content

GET endpoints - S3 bucket does not exist #12

@Animesh-1983

Description

@Animesh-1983

Hi Ryan, Thanks for putting thru a good trail of courses for AWS developer cert. I am now in serverless but facing below issue when trying to execute GET endpoint after "npm run deploy : aws" -

message | "The specified bucket does not exist"
code | "NoSuchBucket"
region | null
time | "2020-10-03T05:37:26.123Z"
requestId | "50D25AADCFD6B57E"
extendedRequestId | "ldAGjyHlxNe9FkF1vD8POp9dFUELmtoQsHU7s1BXLLeJnLtPND5NGKQfd2zDuKKck2SOdnVmm24="
statusCode | 404
retryable | false
retryDelay | 85.59063296187126

I am not getting this error while deploying the application - though I am also not seeing a "success" msg after deployment ends. Below is the log from command prompt (I am using a desktop with windows10) for my deployment:

[email protected] deploy:aws C:\Users\91779\Documents\trash-panda-buffet
serverless deploy

Serverless: Packaging service...
Serverless: Excluding development dependencies...
Serverless: Uploading CloudFormation file to S3...
Serverless: Uploading artifacts...
Serverless: Uploading service trash-panda-buffet.zip file to S3 (15.59 MB)...
Serverless: Validating template...
Serverless: Updating Stack...
Serverless: Checking Stack update progress...
....................................................................
Serverless: Stack update finished...
Service Information
service: trash-panda-buffet
stage: dev
region: ap-south-1
stack: trash-panda-buffet-dev
resources: 62
api keys:
None
endpoints:
GET - https://qxpiw78893.execute-api.ap-south-1.amazonaws.com/dev/
POST - https://qxpiw78893.execute-api.ap-south-1.amazonaws.com/dev/game
PUT - https://qxpiw78893.execute-api.ap-south-1.amazonaws.com/dev/game/{id}
GET - https://qxpiw78893.execute-api.ap-south-1.amazonaws.com/dev/scores
GET - https://qxpiw78893.execute-api.ap-south-1.amazonaws.com/dev/foodItems
GET - https://qxpiw78893.execute-api.ap-south-1.amazonaws.com/dev/trashPanda
functions:
index: trash-panda-buffet-dev-index
gameStart: trash-panda-buffet-dev-gameStart
gameSave: trash-panda-buffet-dev-gameSave
gameScores: trash-panda-buffet-dev-gameScores
gameVerify: trash-panda-buffet-dev-gameVerify
populateData: trash-panda-buffet-dev-populateData
getFoodItems: trash-panda-buffet-dev-getFoodItems
getRandomTrashPanda: trash-panda-buffet-dev-getRandomTrashPanda
saveAction: trash-panda-buffet-dev-saveAction
processAction: trash-panda-buffet-dev-processAction
layers:
None
DistributionIdKey: cloudFrontDistributionOutput
CloudfrontInvalidate: Invalidation started

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions