Questions tagged [aws-amplify-sdk-js]

Use this tag to group queries related to AWS Amplify that are related to the JavaScript SDK as opposed to the Amplify CLI or the iOS / Android libraries.

The Amplify framework has several products, including:

  • Amplify CLI (open source)
  • Amplify SDK for JS (open source)
  • Amplify React, Angular, and Vue component libraries
  • Amplify SDKs for iOS / Android (open source)
  • Amplify Console (managed, paid service)

This tag can be used to group queries just related to the second bullet.

87 questions
1
vote
1 answer

Can not connect to AWS Amplify PubSub -> Socket error:undefined

I've been trying out all ways to get the Amplify/PubSub working without any luck. It seems all the documentation are rather outdated. Here is what I have done so far. Please note all hashes are made up ;-) Created a fresh React Native app Installed…
1
vote
1 answer

Using AWS-Amplify with Firefox

I hope you are all doing good, I have a question that I've been stuck on for the past couple of days. I am building a website with React that uses AWS-Amplify for user authentications (For users on the Cognito AWS database). I am working on the…
Linir
  • 379
  • 1
  • 3
  • 12
1
vote
1 answer

Where does amplify grab the value of `amplify env pull --restore` from?

In the documentation: amplify env pull –restore Pulls your environment with the current cloud environment. Use the restore flag to overwrite your local backend configs with that in the cloud. My question is, where exactly the cloud at?? The…
iomario
  • 646
  • 1
  • 5
  • 12
0
votes
0 answers

Getting undefined word on the attributes of User in AWS Amplify in Readct

I'm using @aws-amplify/ui-react to add custom funcionality on the ForceNewPassword of Cognito I'm trying to add the phone number on the ForceNewPassword component but when the request is send I always get an undefined value on the usser attributes.…
0
votes
1 answer

Problem in configure method of AWS Amplify JavaScript library after upgrade to 5.3.7

I just upgraded my NodeJS project which upgraded my aws-amplify library and encountered with multiple breaking changes. I was able to fix all except the two. Following is my updated package.json file:- { "name": "project", "private": true, …
vinod827
  • 1,123
  • 1
  • 21
  • 45
0
votes
1 answer

how to rectify this error "InvalidIdentityPoolConfigurationException"

i'm trying to create a AWS cognito login with fb. the proble is it is throwing error from this API ( https://cognito-identity.us-east-1.amazonaws.com/ --> 400 error) like: { "__type": "InvalidIdentityPoolConfigurationException", "message":…
0
votes
1 answer

AWS Amplify and AppSync custom domain

I have created and associated a custom domain name to access my AppSync API using the web interface. When I run amplify pull and regenerate the aws-exports.js file the aws_appsync_graphqlEndpoint does not reflect the custom domain name. How can i…
Martin Slater
  • 45
  • 1
  • 5
0
votes
0 answers

Using AWS Amplify allow access to an owner restricted model from a Lambda function using an API key

I have a model that is restricted to an owner currently. We need to be able to access and update all models from a background lambda process. This is currently possible when the model is set to public using and API key. In production it has to be…
0
votes
0 answers

Amplify UI login console could not be customized with single federated button

I used to get a single federated button on the login screen as shown below using below code for AWS Amplify old version libraries. The components are no longer supported in the new "@aws-amplify/ui-react": "^5.0.2". Can someone please help me modify…
0
votes
2 answers

How to use S3 on a react-native project without AWS Amplify

For a multitude of reasons, mostly ease of use and internally broken imports, I don't want to add AWS amplify to my current react-native project. Is there any way I can directly read objects from S3 without AWS amplify and all of the complication…
0
votes
1 answer

AWS Amplify API (AppsSync / GrapthQL) Error "Not Authorized to access listXbiis on type Query"

I am building a WebApp With AWS Amplify. I have the following object as part of my schema.graphql file. type Xbiis @model @auth(rules: [{ allow: private, operations: [create, update, delete, read] }]) { id: …
Raystorm
  • 6,180
  • 4
  • 35
  • 62
0
votes
0 answers

Amplify UI Angular authenticator translate don't work properly

I am using amplify UI for angular application Amplify UI and I'm trying to translate the login placeholder inputs but they don't work. For the LOGIN tab I have default email authentication, and for the SING UP tab I have specific formFields: To…
0
votes
0 answers

Can we use rust-aws-sdk-amplify to call graphQL endpoints hosted on Appsync?

I am trying to use Rust aws-sdk to consume graphQL endpoint hosted on Appsync. I am looking for query, mutation as well as subscription. Is it possible to establish the connection with Appsync server using rust amplify sdk? Following is the react…
p_b
  • 11
  • 1
  • 7
0
votes
1 answer

AWS Cognito with Vue and Amplify how to resolve Error: Username and Pool information are required

I am developing an application using Vue.js and the Amplify SDK to work with AWS Cognito for authentication. My Cognito user pool is federated through Azure AD and is working properly. I am not using Amplify CLI. When I navigate to /auth (see…
0
votes
0 answers

Does Amplify's JavaScript library retry on lost acknowledgement?

I'm wondering what, if any, built-in automatic retry logic exists in AWS Amplify's JavaScript front-end library for connection related errors. Actually it would be good to know about retry logic for all error types, but I'm mainly concerned with…
Roy
  • 31
  • 3