AWS S3 error: “The bucket you are attempting to access must be addressed using the specified endpoint”

Most errors on AWS are explicit and self explanatory, but once in a while you run into something that tells you something went wrong, but not how to fix it. When setting up an S3 bucket to serve a static website, I got this error being returned as 301s for referenced files: <Error><Code>PermanentRedirect</Code><Message>The bucket you …

AWS Lambdas: “Process exited before completing request”

While testing a React frontend for my SudokuSolver Lambda, I kept getting this error when calling the Lambda using superagent from React: RequestId: 35934232-xxx Process exited before completing request Testing from Postman it completed as expected. This error message means what it says, the Lambda quit before it completed executing. There are 2 possible paths …