Facebook Error Code 1: An Unknown Error Has Occurred

Get rid of Facebook error code 1 with easy steps

Reading time icon 5 min. read


Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

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.
fix facebook an unknown error has occurred code 1
Try Opera One, a browser with unlimited functionalities already integrated.A remarkable browser like Opera One has maximum capabilities already underneath the hood.Here's what Opera One covers through default:
  • An incredible AI Service accessible directly in the sidebar
  • Ad-blocker mode integrated to load pages quicker
  • Modular browser, multithreaded, and intuitive tab navigation
  • Battery saver mode
  • โ‡’ Get Opera One

If you are frequently or repeatedly getting the problem: An unknown error has occurred code 1 on Facebook, don’t worry. This article has efficient solutions that will help you.

In general, the Facebook error code 1 mostly occurs on the smartphone app. However, the same thing may happen on the web too. You will mostly get it on a known or a new device during log-in. You also may face the same error when logging into something else using Facebook.

Why is my Facebook saying unknown error when I try to log in?

When you try to log in on Facebook or even somewhere using the Facebook account, you may get a message like: Login failed [1]. This unknown error also may occur with Messenger with the same error code 1. It happens due to some common reasons. These are:

  • Disabled permission on third-party services or the Facebook app itself: Several permissions are required in Facebook, usually granted by default. But the error may appear if you reconfigured any in the recent past.
  • Network-related problem: There might be an issue with your network, and restarting or resetting the router helps sometimes.
  • Facebook service is down: If Facebook itself is down, you may get the An unknown error has occurred code 1 message.
  • Corrupted cache and data: A corrupt browser cache can also trigger issues and lead to various errors with Facebook and other websites.

If you take care of these things, you can fix this error.

What is error code 1 on Facebook?

Error code 1 appears when users try to log into Facebook because of the app or website’s inability to connect with the server. This could be due to issues at users’ or Facebook’s end.

The error is commonly encountered on iPhones and iPads, but Windows users, too, have reported it on PCs.

How do I fix the Facebook error code 1?

Before we start making changes, here are a few quick tips and tricks that might work:

  • Restart the device you are using to sign into Facebook.
  • Make sure that Facebook is up and running. To check for issues with the Facebook server, use Downdetector.
  • Connect to another Wi-Fi network if available. For mobile users, switch to phone data instead of Wi-Fi and verify whether the An unknown error has occurred code 1 message goes away.
  • You can also use ExpressVPN. This VPN can bypass any ISP level limitation except bandwidth limit and give you a stable experience while accessing various websites.

If none of these prerequisites work, move to the fixes listed next.

1. Clear the cache and data

1.1 On browser

  1. Open your browser on a PC or Mac.
  2. Press CTRL + Shift + Del for PC or Command + Shift + Del for Mac.
  3. Set the time range to All time.choose clear browsing data time range
  4. Select Cached images and files and Cookies and click on Clear data.metamask not showing balance

1.2 On an app

  1. On your Android phone, go to Settings.
  2. Go to Apps.
    going apps settings android
  3. Find and tap on Facebook.
  4. Go to Storage
    .going storage app preferences android
  5. Tap on Clear Data.
    clearing app data android

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

  1. Go to Facebook Settings.
  2. Navigate to Security and Login.
  3. Go to Apps and websites.
  4. Go to View and Edit for your preferred app.clicking view and edit fb app preferences
  5. Grant required permission for the app.

2.2 For the Facebook app

  1. Go to Facebook app settings as shown in method 1.2.
  2. Go to Permissions.
    clicking permission android app settings
  3. 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

  1. Go to Apps and websites like in Solution 2.1.
  2. Delete the third-party apps.removing apps on fb

4. Correct the date & time

4.1 On PC

  1. Press Win + I on the keyboard to open Settings.
  2. Go to Time & language and click on Date & time.going date and time settings win11
  3. Enable Set time automatically and make sure the Time zone is in the correct state.set time automatically win11

4.2 On an Android device

  1. Go to Settings.
  2. Go to General management.
    going general management settings android
  3. Tap on Date & Time.
    going time n date android
  4. Enable Set Automatically and make sure the correct time zone is set.

4.3 On an iOS device

  1. Go to Settings.
  2. Tap on General.
    going ios settings general
  3. Go to Date and time.
    going date n time ios settings
  4. Set it to Automatic.
    set time automatically ios

5. Reset the network settings

5.1 On a PC

  1. Go to Windows settings like before.
  2. Go to Network & internet.clicking network internet win11
  3. Click on Advanced network settings.
  4. Go to Network reset.
  5. Click on Reset now and follow any on-screen steps.clicking reset now for network reset win11 settings

5.2 On an iOS device

  1. Go to General in Settings.
  2. Tap on Transfer or Reset iPhone.going transfer and reset iphone
  3. Tap on Reset.
  4. Choose Reset Network Settings.reset network settings ios

5.3 On an Android device

  1. Go to General management on Settings.
  2. Tap on Reset.
  3. Tap on Reset network settings.
    reset network settings android

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.

How do I fix Facebook errors?

There are different types of errors you may face with Facebook. To fix them, there are specific methods. However, in general, clearing cache and cookies can help. Else, granting required permissions and using a stable internet connection also can be necessary.

If you use Facebook from a browser, make sure the web browser is up to date. Also, the Facebook apps on your smartphones should be updated regularly. In this way, you can fix common errors.

This article has explained how you can fix An unknown error has occurred code 1 on Facebook. If you have faced this problem and solved using a different method, you can let us know in the comment box.

More about the topics: Facebook issues, social media