> ## Documentation Index
> Fetch the complete documentation index at: https://docs.qbraid.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Troubleshooting

[![https://img.shields.io/badge/issue\_tracking-github-blue?logo=github](https://img.shields.io/badge/issue_tracking-github-blue?logo=github)](https://github.com/qBraid/community/issues)

If you encounter an error that isn't included on this page or if the solution provided doesn't work, please [reach out to us on Discord](https://discord.gg/KugF6Cnncm),
email us at [contact@qbraid.com](mailto:contact@qbraid.com), or [open a bug report](https://github.com/qBraid/community/issues/new?assignees=\&labels=bug).

## Error launching Lab

If you get one of the following errors while launching Lab,

* `400: Bad Request`
* `500: Internal Server Error`
* `503: Service Unavailable`
* `Spawn failed`

your qBraid Lab server failed to start. Follow the prompts on the screen, or if none are given, return to [https://account.qbraid.com](https://account.qbraid.com/),
and click **Launch New Instance** to try again.

## Lab server errors

If you get one of the following errors from inside Lab,

* `Service unavailable or unreachable`
* `File Save Error`

For these types of errors, refreshing the page won't work and you will need to restart your qBraid Lab server.

You can stop your running server from your [account dashboard](https://account.qbraid.com/), and then launch a new instance.

## ModuleNotFoundError

While running a notebook, if you get a `ModuleNotFoundError` after an import statement:

1. Check to make sure you are using the correct notebook kernel for your environment, see [Switch notebook kernel](/v2/lab/user-guide/notebooks/#switch-notebook-kernel).
2. If you are using the correct kernel, the package you are trying to import may not be installed in that environment. See [Install new package](/v2/lab/user-guide/environments#install-new-package).

## OpenSSL AttributeError

Depending on the environment you're using, executing

```python theme={null}
from braket.aws import AwsDevice
```

may raise `AttributeError: module 'lib' has no attribute 'OpenSSL_add_all_algorithms'`. If this happens to you, don't worry!
This is simply a result of an outdated `pyOpenSSL` version. Upgrade to the latest version and the problem should be resolved:

```bash theme={null}
pip install --upgrade pyOpenSSL
```
