challengeName === 'NEW_PASSWORD_REQUIRED'
. See https://docs.amplify.aws/lib/auth/manageusers/q/platform/js#complete-new-password
Hi there everyone, I'm wondering if I could get some help with this aws-amplify/amplify-js#3977
Essentially the issue is that I'm trying to upload files from react-native
to S3 via the Storage
API but things start breaking down when I introduce Blob
s.
I'm thinking it may be as simple as adding a ContentEncoding: 'base64'
to the underlying provider implementation if the options are set as such. I actually have a local branch https://github.com/macsj200/amplify-js/tree/fix/maxj/amplify-put-encoding with the changes in place but I'm struggling to get a local copy of amplify-js
to build.
Hey guys, I'm having an issue I described here: aws-amplify/amplify-cli#6227
Does anyone has any suggestions of what I could try to work around this?
Hey folks, just installed aws-amplify, and I get the following error:
Module not found: Can't resolve './graphql' in '/Users/fk/Desktop/aws/mvp/frontend/node_modules/graphql'
node_modules/graphql/index.mjs
Any ideas why this is happening? I am running the web pack dev server and this error gets thrown
~$: amplify push
⠹ Fetching updates to backend environment: develop from the cloud.Failed to refresh tokens.
Failed to get credentials.
NotAuthorizedException: Refresh Token has expired
at Request.extractError (/usr/local/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/protocol/json.js:52:27)
at Request.callListeners (/usr/local/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/sequential_executor.js:106:20)
at Request.emit (/usr/local/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/sequential_executor.js:78:10)
at Request.emit (/usr/local/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/request.js:688:14)
at Request.transition (/usr/local/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/request.js:22:10)
at AcceptorStateMachine.runTo (/usr/local/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/state_machine.js:14:12)
at /usr/local/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/state_machine.js:26:10
at Request.<anonymous> (/usr/local/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/request.js:38:9)
at Request.<anonymous> (/usr/local/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/request.js:690:12)
at Request.callListeners (/usr/local/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/sequential_executor.js:116:18) {
code: 'NotAuthorizedException',
time: 2021-01-11T22:15:48.134Z,
requestId: 'd72f914e-5c18-43e9-af77-04054e195abc',
statusCode: 400,
retryable: false,
retryDelay: 50.82003610997183
}
~/.aws/credentials
[default]
and have verified the secret and access key are correct and have the right permissions.