Without knowing what type of error is being received (i.e. is it a 401? Is it a 403? Is it a 50x?) or having any logs to review, I'll venture a guess as to what might be causing this: You would get behavior similar to this if your Cognito token expired and was not refreshed. Generally, what you can do to alleviate this is use the refresh token to "refresh" your token when the page is idle. You can find information on how to do that programmatically here. In addition -- make sure your authentication flow is not just checking if the token is present in your browser (in a cookie, for instance) but also that it is not expired -- and if it is expired force your users to re-authenticate.
I'd encourage you to retry this operation again. I'm not sure which region, or the full list of services you're using, but want to ensure you're aware of some earlier service impact that could have possibly contributed.
While signed in to your AWS account, please check go.aws/aws-hd to see if a service you're using was affected. The increased error rates in our US West (Oregon) region have now been marked as Resolved. If you continue to encounter errors not mentioned on our Health Dashboard status, please do add additional details on this thread.
— Brian D.
What service(s) do you recommend for running Simple full-stack app? What costs can we expect?asked 2 months ago
Cors Issue when connecting React Application to AWS Lambda using API Gateway HTTP APIasked a year ago
frontend react application giving error while calling api gateway if the page is kept idle for some time
How to visually create frontend for Amplifyasked a year ago
sending http request to API gateway from my frontend using IAM authorizationasked 3 months ago
how to avoid getting invocation error from lambda function being too idle
Hosting React Applications on S3Accepted Answerasked 2 years ago
Building react web application on Lambdaasked a day ago
In AWS Amplify UI React after Login how to redirect to dashboard path login button in home page in react in different pageasked 7 months ago
What is the best option to query or mutate data with business logic from frontend?asked 3 months ago