Expo and AWS Amplify Auth Error, An Unknown Error has Occurred

How to Solve “An Unknown Error has Occurred” Error…

Geno Tech
3 min readAug 28, 2024
Expo and AWS Amplify Auth Error, An Unknown Error has Occurred

When I was integrating the AWS Amplify auth module into my React Native(Expo) Application, I faced this issue, “An Unknown Error has Occurred”. I have seen many developers face this issue but no proper answer with an explanation. This is not an issue with dependencies or with your code. If you can see the above error after you sign up to the system, It’s an issue with Expo, because of the adequate AWS Amplify support.

I know you you tried to solve this issue in many ways but you didn’t have any better solution. Maybe you have tried changing your emulator, device, dependencies, versions and so many ways.

This is not an issue with your package.json or your installed dependencies. If you could sign up correctly, that means you’re done so far very well.

For your reference, I have added my package.json file here.

{
"name": "road-helper",
"main": "expo-router/entry",
"version": "1.0.0",
"scripts": {
"start": "expo start",
"reset-project": "node ./scripts/reset-project.js",
"android": "expo start --android",
"ios": "expo start --ios",
"web": "expo start --web",
"test": "jest --watchAll",
"lint": "expo lint"
},
"jest": {…

--

--

Geno Tech
Geno Tech

Written by Geno Tech

Software Development | Data Science | AI — We write rich & meaningful content on development, technology, digital transformation & life lessons.

Responses (1)