The problem is that even after expiration time that is 5 min for ID token and access token, the session is still validated for some reason I cannot understand. Can someone help me what should I Do? I tried waiting for 5 min or more to check if token has expired or not but it still says that it is
Tag: amazon-web-services
Empty image when uploading to presigned AWS S3 url in React Native
I’m trying to upload image to AWS S3 in my React Native(expo managed workflow), but in result the file is empty. I don’t get any errors through the process. I’ve also tried to upload it using Uppy AWS plugin, but result is the same. Here is my code: I am using expo image picker to get the file. I’ve also
Getting error when executing a lambda function – Parameter “userId” has value with no field set
I guess I am making a silly coding mistake, but have been trying for more than a day. I am trying to insert records onto aurora table with the parameters received as a stream from dynamodb table. I cant seem to set the parameters on the params object correctly. I want the sql statement and the parameters on the params
How do I know when an async aws lambda ends?
It will be easier to understand if you look at the image: I am coding using AWS Lambda in node.js. I tried referring to the code above, but it failed. A lambda invokes B lambda. And B lambda invokes many C lambdas asynchronously. How do I know that B lambda ends with C lambdas? I can’t do this so Lambda
Is it possible to call AWS Step Functions from AWS JavaScript v3 SDK?
I posted this question on the forums back in August requesting when the V3 JavaScript API would add support to AWS Step Functions as it is in the V2 SDK. I haven’t heard anything on that thread. Is there an alternate solution that someone has which I can migrate away from the V2 SDK? Answer Currently there is support for
React does not update page when manually entering a URL
I have this issue where React does not update/refresh the page when manually entering a URL on a tab that already has the website open. I have a live demo of the website here: https://dpldmuafup7cw.cloudfront.net/#/ When on the home page you should be able to click a link to a film, and then enter the ID of another film, e.g.
Can we use GitLab as host for source code with AWS CDK pipeline?
I have a repository in GitLab (Lambda Functions) and want to work with the AWS CDK pipeline (https://aws.amazon.com/blogs/developer/cdk-pipelines-continuous-delivery-for-aws-cdk-applications) to develop CI/CD pipeline. In AWS CDK docs there is nowhere mention about Gitlab. Will really appreciate it if someone can confirm this. Answer Only Bitbucket, GitHub, GitHub Enterprise Server actions are supported natively with codepipelines at the moment. You will need
NodeJS 14.x – Native AWS Lambda Import/Export Support
I am looking to make use of the native import/export that comes with ES6. I am using Serverless Containers within AWS Lambda. I have my Dockerfile which looks like this: I then have an app directory with my application code. The app.js code looks like this: As you can see from this line import { success } from ‘./utils/log’; I
AWS Lambda S3.getObject throws “Access Denied”, but only when running locally
I am using AWS Lambda and serverless framework to build a service which uses S3 to store a file. The lambda function (“hello”) works perfectly when deployed to the cloud (it has an http …
React-Router locations on AWS s3 bucket do not work
I have my static react app hosted in an AWS s3 bucket. It renders fine. However, I am utilizing react-router-dom to navigate between “pages.” (I have enabled public access, enabled static …