362 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
48
views
Unknown type FieldUnion for field fields. Did you forget to add the @model directive. Grapghql
getting below error during amplify publish .
Unknown type FieldUnion for field fields. Did you forget to add the @model directive
the code:
FieldUnion = KeyValueField | AnotherFieldType
type MyObject ...
0
votes
1
answer
103
views
Remirror + YjsExtension throws "state undefined" error
I’m trying to build a collaborative editor using Remirror and Yjs, but I’m encountering an error when adding the YjsExtension. As soon as I include it, the following error appears in the browser ...
0
votes
0
answers
22
views
Upgrading production environment in AWS Amplify
I'm working on updating an old AWS Amplify application that was last updated around 4–5 years ago. The app originally had two branches with their own backends: prod and dev.
Recently, I attempted to ...
0
votes
0
answers
9
views
Amplify Save Authorization Rule Config
Amplify Documentation Screen Shot
In the amplify documentation, to change the Authorization rule (ie changing from IAM to Cognito), I just have to change the amplify configuation files. But everytime ...
0
votes
0
answers
104
views
How to test if my AWS Amplify project will build on the cloud when it works locally?
Is there a way to build my app completely locally to confirm it will work when I push it to my main branch?
I use the Amplify sandbox and run npm build locally and everything works. Is there anything ...
0
votes
0
answers
71
views
How to get the list of users, in a React application using Amplify Gen 2
I should create a simple React component that displays the list of users on Cognito, I currently use an Amplify Gen 2, but I can't find in the official documentation any example on how to extract the ...
0
votes
0
answers
152
views
Unable to deploy app using amplify cloud sandbox
I am trying to deploy a simple web application using aws amplify
I have configured a new user for this as well
but ...after creating the application there is one command 'npx ampx sandbox' which ...
1
vote
1
answer
16
views
SecurityError in PS terminal when Running AWS Amplify app
I'm new to Amplify and currently following an AWS tutorial on building a Flutter mobile app using Amplify. When I tried to run the amplify init statement for the first time, when the tutorial told me ...
0
votes
0
answers
590
views
How to deploy a SSR NextJS to Amplify manually (without Git repository provider)?
I have a NextJS SSR with dynamic routes that I want to deploy to Amplify. Our git is selfmaintainer so the option of using it to deploy is not possible.
In the zip upload it's stated that SSR is not ...
0
votes
0
answers
58
views
AWS Amplify CLI - Generating wrong resolvers
I'm using AWS Amplify with the CLI (version 12.13.1) and the Amplify backend library to generate code for my project. Everything was working well until I added a new Owner: User field in the Event ...
0
votes
1
answer
193
views
Error: Extra trailing closure passed in call
import Amplify
class Auth {
var email: String?
var password: String?
// Login
func login(email: String, password: String, completion: @escaping (String?) -> Void) {
...
0
votes
1
answer
158
views
Using AWS Amplify in Flutter without configuring with CLI
I am building an app with Flutter and my backend uses different services from AWS. I don't want to use the Amplify CLI because I don't need to create backends. I manage my backends with proprietary ...
1
vote
1
answer
175
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 &...
0
votes
1
answer
123
views
How to resolve Schema validation failed in AWS Graphql Schema Transformer v1 to v2
I had an old project which had the following schema:
type User @model {
id: ID!
username: String!
email: String!
imageUri: String
posts: [Post] @connection(keyName: "byUser", fields: ["...
1
vote
0
answers
110
views
Amplify push results in " Message: Resource is not in the state stackUpdateComplete"
I’m working on a React Native project with AWS Amplify and now whenever I try to push updates to my backend after adjusting my GraphQL schema, CloudFormation seems to bug out, leaving me with several ...