question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Auth SignUp auto send another request and throw Error: No credentials, applicationId or region

See original GitHub issue

** Which Category is your question related to? ** Auth ** What AWS Services are you utilizing? ** Cognito ** Provide additional details e.g. code snippets ** I have 2 projects which are using the same code like this: Auth.signUp({ username, password, attributes }).then(data => console.log(data)).catch(error => console.log(error)).finally(() => console.log('done')); Just like this: https://aws-amplify.github.io/docs/js/authentication#sign-up Here is the problem show out:

message: “Unauthenticated access is not supported for this identity pool.” __type: “NotAuthorizedException”

After that, I got the error in console: Error: No credentials, applicationId or region.

Not sure why is the old project is working fine but with this one, this error show up. Is it because the different in amplify ?

Thanks.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:21
  • Comments:30 (2 by maintainers)

github_iconTop GitHub Comments

27reactions
WhatIsHeDoingcommented, Jun 25, 2019

Disabling as per the docs fixed this for me.

17reactions
gruckionvitcommented, Aug 13, 2020

This is still an issue, disabling the analytics is not the right solution. Are there any status updates on this? Did anyone figure out what’s causing it

Read more comments on GitHub >

github_iconTop Results From Across the Web

Amplify Auth SignUp auto send another request and throw Error
After that, I got the error in console: Error: No credentials, applicationId or region. Not sure why is the old project is working...
Read more >
Error: No credentials, applicationId or region #5918 - GitHub
Auth.signIn succeeds but throws console error and every time it showing the warning. #5629 fix not working in the latest version.
Read more >
Let's build an Image Labeler App using AWS Amplify Auth, API ...
Let's build an Image Labeler App using AWS Amplify Auth, API (GraphQL), ... Error: No credentials, applicationId or region with the latest ...
Read more >
Authentication API Explorer - Auth0
Introduction. The Authentication API enables you to manage all aspects of user identity when you use Auth0. It offers endpoints so your users...
Read more >
Authentication API - Okta Developer
A public application is an application that anonymously starts an authentication or recovery transaction without an API token, such as the Okta Sign-In...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found