Questions tagged [aws-amplify]

AWS framework for rapidly developing backends for mobile and web applications.

AWS Amplify provides the greatest common denominators for mobile backends, including authentication, analytics, notifications, storage, and offline realtime database AWS AppSync.

It works for Android, iOS, and Web clients, and provides integration with popular client runtimes such as React Native, React, Angular, and Ionic.

AWS Amplify provides a modern toolchain, including a powerful CLI and codegen.

See more at their website: https://docs.amplify.aws/

4787 questions
1
vote
0 answers

S3 access denied in flutter app while using aws amplify storage

I have been using AWS amplify storage to store my JSON files. Also I have done all the setup needed to perform crud operations to a bucket in s3. All of a sudden, I am not able to retrive data from the s3 bucket and I am getting an error Error…
1
vote
0 answers

Amplify REST requests returns 401. Probably an error with headers

I'm making an Android application with koltin that connects to AWS- Amplify My problem is: When creating a REST request, I am getting the 401 error, that is, I am not authorized to make this request. I've already used amplify's Auth.signIn function…
1
vote
0 answers

CORS Error in React App Deployed on AWS Amplify

I am receiving the below messages in my Google Chrome console when running my React application which is deployed to AWS Amplify. I click on the 'Login/Signup' link of my React app, which in turn generates a GET request. The Spring Boot Java backend…
1
vote
0 answers

Per-environment configuration accessible during CloudFormation/CDK in Amplify projects

Is there a way to have configuration per Amplify environment accessible to custom CloudFormation/CDK code? For example, let's say I want to customise the "auth" component, so I end up with an override.ts in the backend/auth/ folder with some CDK…
user611942
  • 135
  • 1
  • 10
1
vote
1 answer

Amplify Data visible in GQL, DynamoDB, but not with DataStore or Content Tab in Studio

I'm building an application with Amplify and using DataStore. I have a set of data in a data model called "Location" that I created several days ago and I was using it with DataStore.query but all of a sudden the data stopped coming back. I went to…
1
vote
1 answer

Issue setting up GitLab repository for AWS Amplify App using Terraform

Question: I am encountering an error while trying to set up my GitLab repository for an AWS Amplify App using Terraform. I have followed the necessary steps, but I keep receiving the following error message during the terraform apply step: Error:…
ahmtcnsvr
  • 31
  • 4
1
vote
1 answer

Enable XRAY on a lambda function using AWS Amplify

What is the recommended way to do enable XRAY on a Lambda function using AWS Amplify? Edit the CloudFormation that Amplify generates? Use CDK somehow to edit the function after it's been deployed? How? Some other way?
1
vote
1 answer

"Pkg: Error reading from file" in Amplify

I am not able to use Amplify on PC. Even basic commands like amplify --version throw this error. I have already added path to system variables and Tried reinstalling amplify. I am not able to figure out where the problem is and there is no solution…
kc1009
  • 23
  • 2
1
vote
0 answers

NextJS w/ Amplify Accessing 3rd Party API

Quick Edit: I know some of my logs are dangerous, they're in the code just locally, not committed. I am running into errors that I cannot resolve and I've been stuck for a few days now, reading through prior questions and looking at the…
1
vote
0 answers

Getting an error while deploy a flask application to the web with AWS amplify

I am not receiving any error messages while deployment. It says that Deployment is successful but when I try to access the aws amplify link my web app does not load but instead shows an error as "No webpage was found for the web address. HTTP error…
1
vote
0 answers

NextJS always hard refreshing when behind Cloud Front CDN

I have a NextJS application that used router.push(newRoute) to change page. Locally, pages change without any refresh, that is what I expect (on next documentation this is called "soft navigation"). Using AWS Amplify, I have deployed this…
Francesco Meli
  • 2,484
  • 2
  • 21
  • 52
1
vote
0 answers

TypeScript looking for metro-config in new amplify CDK stack

I have created a new CDK stack using: amplify add custom When I try to build it, I get the following error: error TS2688: Cannot find type definition file for 'metro-config'. The file is in the program because: Entry point for implicit type…
1
vote
2 answers

Get Amplify's Environment Variables on Vite React

How do I get Amplify's Environment Variable on a Vite React application? I've tried console logging to the import.meta.env, but only the process_env is showing. What do I need to do?
1
vote
0 answers

Post Amplify Authentication using ReactJS getting - Login option is not available. Please try another one

I am able to authenticate through Okta integrated with Amplify, however post login I get the below Error ( as shown on the screenshot ) "Login option is not available. Please try another one" Here is my App.js and Login.js App.js import…
1
vote
0 answers

how do you download a file from AWS onto an android studio app using java?

Currently I cannot get a file downloaded from my AWS S3 bucket into my android studio app. I am using amplify client to do this. I tried to test the app on a physical device, however it crashed as soon as I tested it. Here is the code public void…
xgyu
  • 11
  • 2