Source: https://nishanth-fern-test.docs-staging.pageloop.ai/web/troubleshooting-wysiwyg

# Error: Couldn't create a Pop-up

## Issue

When you try to save a Pop-up on the Whatfix Guidance dashboard, you see the following error:

![Error message titled "We couldn't create your Pop-up. Contact support for assistance."](/images/7c/Studio_Pop-up_Error-Message-7c475200.png)

## Probable Causes

Whatfix displays this generic error message when your application receives a server response that is not mapped to a specific error condition.

This error may occur for the following reasons:

- The **New Visibility Rules** are missing or incomplete.
- You have reached your account’s widget limit.
- The internet connection is unstable.
- Your application receives any other invalid server response.

> [!WARNING]
>
> The following table lists common error codes and their descriptions:
>
> | Error Code                                                              | Description                                                                       | When the Error Occurs                                                                 |
> | ----------------------------------------------------------------------- | --------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
> | `401 Unauthorized`                                                      | The browser session has expired.                                                  | The user’s session or authentication token is no longer valid.                        |
> | `403 Forbidden`                                                         | The user does not have the required permissions.                                  | The user’s role does not provide permission to create Pop-ups or access the resource. |
> | `500 Internal Server Error`                                             | Internal server errors while processing the request.                              | An unexpected issue occurred on the server side.                                      |
> | `502 Bad Gateway` or `503 Service Unavailable` or `504 Gateway Timeout` | The server is unavailable, overloaded, or timed out while processing the request. | Temporary downtime or service issues on the platform.                                 |
>
> For more information on Whatfix API responses, see [Status Codes](https://developer.whatfix.com/#section/Status-Codes).

## Suggested Solutions

- Set correct **New Visibility Rules**. For more information, see [Understand New Visibility Rules for widgets](/web/understand-visibility-rules-20).

> [!WARNING]
>
> **New Visibility Rules** are currently available only for selected customers. For more information, contact [support@whatfix.com](mailto:support@whatfix.com?subject=Enable%20Advanced%20Visibility%20Rules\&body=Hello%20Team%2C%0A%0APlease%20enable%20Advanced%20Visibility%20Rules%20for%20my%20account.%20%0A%0AThanks%20and%20regards).
>
> For more information about existing **Visibility Rules**, see [Visibility and Display Rule Conditions](/web/visibility-and-display-rule-conditions-1).

- To increase your account’s default widget limit, contact [support@whatfix.com](mailto:support@whatfix.com?subject=Error%3A%20Maximum%20number%20of%20segments%20reached\&body=Hello%20Team%2C%0A%0APlease%20increase%20the%20limit%20of%20widgets%20segments%20for%20my%20account.%20%0A%0AThanks%20and%20regards). Additionally, consider [deleting](/web/delete-a-pop-up) or [archiving](/web/archive-whatfix-content-or-widgets) unused or expired Pop-ups.
- Check your internet connection and try again.
- If the issue still persists after trying these solutions, contact [support@whatfix.com](mailto:support@whatfix.com?subject=Error%3A%20Couldn't%20create%20a%20Pop-up\&body=Hi%20Team%2C%0A%0AI'm%20unable%20to%20create%20a%20Pop-up%2C%20please%20advise.%0A%0AThanks%20and%20regards).
