Hi Irfanwani,
We appreciate you reaching out to us.
We’d like to gather additional details that may help us be in a better position to assist you.
Have you tried restarting your MacBook Air?
Have you tried a different Wi-Fi network?
If the issue is not network-related, please test if the issue persists on a newly created user account.
"Click the New Account pop-up menu (you may be asked to enter your password), then choose a type of account.
- Administrator: An administrator can add and manage other users, install apps, and change settings. The new user you create when you first set up your Mac is an administrator. Your Mac can have multiple administrators. You can create new ones, and convert standard users to administrators. Don’t set up automatic login for an administrator. If you do, someone could simply restart your Mac and gain access with administrator privileges. To keep your Mac secure, don’t share administrator names and passwords.
- Standard: Standard users are set up by an administrator. Standard users can install apps and change their own settings, but can’t add other users or change other users’ settings.
- Sharing Only: Sharing-only users can access shared files remotely, but can’t log in to the computer or change settings. To give the user permission to access your shared files or screen, you may need to change options in File Sharing, Screen Sharing, or Remote Management settings. See Set up file sharing and Share the screen of another Mac.
- Group: Groups allow multiple users to have the same access privileges. You control a group’s access to your shared folders by setting access permissions in the File Sharing options in Sharing settings.
See Add a user or group."
You can use the article below as a reference.
Change Users & Groups settings on Mac
Also, it may help if you install the latest update of macOS Ventura.
- "From the Apple menu in the corner of your screen, choose System Settings or System Preferences.
- If you chose System Settings, click General on the left side of the window. Then click Software Update on the right.
- If you chose System Preferences, click Software Update in the window.
- Software Update then checks for new software.
- If Software Update finds new software, click the button to install it. The button might be named Update Now, Upgrade Now, Install Now, or Restart Now, for example. You might then be asked to enter your administrator password.
- If Software Update says that your Mac is up to date, then no new software is currently available for your Mac model. Software Update shows only software that is compatible with your Mac."
You can use the article below as a reference.
Update macOS on Mac - Apple Support
Take care!