Questions tagged [aws-amplify]
AWS framework for rapidly developing backends for mobile and web applications.
aws-amplify
5,043
questions
0
votes
0
answers
11
views
Why does my create mutation return null for a subtype using AWS Amplify AppSync?
I have the following type:
type Transplant @model @auth(rules: [{ allow: owner }]) {
id: ID!
date: AWSDateTime!
plant: Plant! @hasOne
plantingBed: PlantingBed! @hasOne
variety: ...
-1
votes
0
answers
15
views
issue in Signup with aws Amplify Angular
I am trying to singup with Amplify Singup method. In that if i pass preferred_username i am getting an error that "Preferred username cannot be provided for unconfirmed account, since user pool ...
0
votes
0
answers
10
views
Can i deploy my Node js express app to AWS Amplify?
So my question is, is it possible to deploy my node js express app on AWS Amplify?
Currently i get an error that the dist is not available. My react app deployed with no issues but the backend isn't. ...
0
votes
1
answer
30
views
Amplify Cognito : How to hide configuration variables in production environment
I use AWS Cognito to authenticate for a React/NodeJs application, it works well, but now I'm trying to push it into production environment
I usually use backend callbacks to protect my environment ...
0
votes
0
answers
15
views
InvalidSignatureException: Unknown error: The request signature we calculated does not match the signature you provided
I had build an App using React Native and Amplify. First time using AWS it was a bit hard to leanr the complexity of AWS, but i feel like it would be better to remove AWS from the project and add ...
2
votes
0
answers
84
views
How do I import a module with ".js" in its name without triggering a TypeError?
When I run my project locally, it works fine. But when I deploy it to AWS Amplify, it shows an error from the browser's console:
Uncaught TypeError: Failed to resolve module specifier "hls.js&...
0
votes
0
answers
28
views
How can I access Amplify Secrets From my React App
I'm writing right now a react app locally, which is deployed to amplify when I push the code.
In AWS Amplify Console I have two secrets, which I want to access in my react app code.
I tried to look in ...
0
votes
0
answers
18
views
Amplify Flutter "handleWebUISignInResponse is not supported" error after Google Sign In
Error java.lang.IllegalStateException: handleWebUISignInResponse is not supported is thrown after a successful Google login to my Amplify app using the AmplifyAuthCognito web view. This causes the app ...
0
votes
0
answers
25
views
How to connect the frontend and backend in Amplify?
I've deployed 2 separated repositories for the frontend and backend in Amplify. I've set it up my custom domain in the frontend. When I access to the domain it will display the frontend but the ...
0
votes
1
answer
57
views
Amplify gen 2 table names
I have an Amplify gen 2 app and schema defined with Graphql for DynamoDb. Upon deployment, all tables are named with the format [Model]-[AppSyncId]-[Environment] e.g:
User-abcdefghijklmnop0123456789-...
0
votes
1
answer
18
views
IAM Condition via Principal Tag not working
I have an app built in AWS Amplify that uses a cognito user pool for my user base.
In the associated identity pool, I have gone to the Attributes for access control subtab and am using the default ...
0
votes
0
answers
17
views
Move Amplify Gen2 Next.js App to subfolder in repo
I'm restructuring a bit with the nextjs sample app for amplify (https://github.com/aws-samples/amplify-next-template), as when we run this want to have it in at least one subfolder deeper
Been looking,...
0
votes
0
answers
36
views
How to access environment variable in lambda function using Amplify Gen2
I am unable to access env variable in lambda function. So far:
I've read official docs and my project looks like follow:
I have function defined as follows:
export const dailyNotification = ...
0
votes
1
answer
57
views
Amplify Gen 2: lambda function `No federated jwt` error
I have an Amplify app using Cognito for userpool authentication. Once a user has signed up and used the code sent via email (all Cognito functionality), they are passed to a custom form where ...
0
votes
0
answers
10
views
'ssr' does not exist in type 'ResourcesConfig | LegacyConfig | AmplifyOutputs'.ts(2353)
I am following a tutorial - ref point is 2:25:16 - on making a full stack application, however, I got stuck at enabling SSR.
`
import "@/styles/globals.css";
import type { AppProps } from &...