FIXED: Facebook Error Code 1: An Unknown Error Has Occurred
Get rid of Facebook error code 1 with easy steps
5 min. read
Updated on
Read our disclosure page to find out how can you help Windows Report sustain the editorial team. Read more
Key notes
- For issues like lack of permission, network problem, corrupted cache, cookies, etc., Facebook may not perform properly, and you may get an error code 1.
- Though the problem can be a result of Facebook’s internal issues, you also should try some methods to verify if it is from your end or not.
- If clearing temporary data and providing required permissions doesn’t help, correct the Time and date to see if it makes a difference.

If you keep seeing the message “An unknown error has occurred. Code 1” on Facebook, don’t panic—this guide has practical solutions that can help.
While this error is most commonly seen on the Facebook mobile app, it can also show up in your browser. It usually happens when logging in, whether on a familiar device or a new one, and sometimes appears when using Facebook to sign into other apps or services.
How to fix the Facebook error code 1?
1. Clear the cache and data
1.1 On browser
- Open your browser on a PC or Mac.
- Press CTRL + Shift + Del for PC or Command + Shift + Del for Mac.
- Set the time range to All time.
- Select Cached images and files and Cookies and click on Clear data.
1.2 On an app
- On your Android phone, go to Settings.
- Go to Apps.
- Find and tap on Facebook.
- Go to Storage
. - Tap on Clear Data.
If necessary, you can re-install the app. On iOS, you won’t find any way to clean the cache. So, you will need to re-install the app there.
After that, try to log in or use Facebook again. You will not face that unexpected error again.
2. Enable the permission
2.1 For third-party app
- Go to Facebook Settings.
- Navigate to Security and Login.
- Go to Apps and websites.
- Go to View and Edit for your preferred app.
- Grant required permission for the app.
2.2 For the Facebook app
- Go to Facebook app settings as shown in method 1.2.
- Go to Permissions.
- Grant the required permissions.
The third-party app or services require permission to do their normal operation. Otherwise, you may get the error code 1. In this case, you won’t have to modify permission on Facebook’s smartphone app.
But, if you cannot log in on Facebook, modifying permission may help sometimes.
3. Remove the third-party connected apps
4. Correct the date & time
4.1 On PC
- Press Win + I on the keyboard to open Settings.
- Go to Time & language and click on Date & time.
- Enable Set time automatically and make sure the Time zone is in the correct state.
4.2 On an Android device
- Go to Settings.
- Go to General management.
- Tap on Date & Time.
- Enable Set Automatically and make sure the correct time zone is set.
4.3 On an iOS device
5. Reset the network settings
5.1 On a PC
- Go to Windows settings like before.
- Go to Network & internet.
- Click on Advanced network settings.
- Go to Network reset.
- Click on Reset now and follow any on-screen steps.
5.2 On an iOS device
- Go to General in Settings.
- Tap on Transfer or Reset iPhone.
- Tap on Reset.
- Choose Reset Network Settings.
5.3 On an Android device
After resetting the network, the login failed, and an unknown error should not occur again. Sometimes, improper network configurations may cause your device to communicate with the Facebook server properly. In this case, resetting the configuration should help.
What causes Facebook login error code 1?
Facebook login error code 1 usually appears as a “Login failed [1]” message when logging in via Facebook or Messenger. It’s a general error caused by:
- Disabled permissions on third-party apps or the Facebook app. This can happen if you recently changed your settings.
- Network issues, such as an unstable connection. Restarting your router may help.
- Facebook server outages, which prevent login attempts.
- Corrupted cache/data, especially in browsers, which can trigger various Facebook errors.
Wrapping up
Facebook login error code 1 may seem confusing, but it usually comes down to things like permissions, cache issues, or network settings. Whether you’re using the app or logging in via browser, the fixes listed above should help you solve it.
If problems persist, try clearing your cache, resetting network settings, or reinstalling the app. And keep in mind, error code 1 isn’t the only Facebook issue out there. For example, if you’ve run into the “Error performing query” message or seen your messages stuck on “Sent” but not “Delivered”, there are solutions for those too.
Stay calm, follow the steps, and you’ll be back on Facebook in no time.
FAQ
Error code 1 usually means there’s a general issue preventing your device from connecting to Facebook’s servers. It could be due to network problems, disabled app permissions, or corrupted cache.
Error code 2 typically points to a server-side issue or poor internet connection. It means your login request couldn’t reach Facebook’s servers. Try checking your network or waiting a bit before trying again.
While it’s more common on mobile apps, PC users can also encounter it—especially when logging in via a browser or a third-party app that uses Facebook for authentication.
Yes, reinstalling the app can often resolve the issue by clearing corrupted data and restoring default settings.
User forum
8 messages