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

# Error Codes & Messages

> Guidance on errors and warnings from Mention Me tags and how to resolve them

The following section provides guidance on the types of errors or warnings that can be received from the Mention Me tags along with examples on how to resolve those issues.

The Mention Me tags can return errors of two types — an **HTTP error** code or a **tag error**.

HTTP errors are normally an indication of the request being malformed (such as wrong URL or missing critical data). These errors will only consist of an HTTP error code.

Tag errors are accompanied by both an HTTP error code and a JavaScript error message which will be rendered within the console of the browser's development tools. This message further assists with debugging.

## HTTP Error Codes

The below summarises the HTTP errors where no further message is available in the console.

<ResponseField name="400 — Bad Request" type="error">
  We have successfully received the request, but it is either malformed or missing important information. Please check the parameters are being passed correctly, and that all mandatory parameters are included.
</ResponseField>

<ResponseField name="403 — Forbidden" type="error">
  See the section on [integration approval](#content-not-served-due-to-integration-being-disabled-or-not-approved-to-go-live) below.
</ResponseField>

<ResponseField name="404 — Not Found" type="error">
  Please check the URLs of the tags you're integrating and ensure that your unique partner code is correct.
</ResponseField>

## Tag Errors

The below summarises example Mention Me specific error conditions which will also render an error into the browser's console.

<AccordionGroup>
  <Accordion title="Content not served due to integration being disabled or not approved to go live">
    Mention Me tags must be manually approved by you and your Client Success Manager before they become enabled on your live site.

    Until your tags are enabled by us on your live environment, you will see this error message in the console. Your customers will see no content, and this error is harmless.

    You may also see this as an HTTP 403 error code.

    **Affected tags:** All
  </Accordion>

  <Accordion title="Content not served due to specific configuration 'situation' being disabled">
    The situation parameter passed has been disabled. The tag has been received and processed but no content will be shown to the customer as the tag has been disabled from within the Mention Me platform.

    **Affected tags:** All
  </Accordion>

  <Accordion title="Offer shown recently. Not showing again as frequency limits are in place">
    The Mention Me platform can limit the number of times a tag is shown to a user either by number of days (i.e. show only once every 3 days) or by number of visits (i.e. only show this offer on the 5th, 10th, 15th, etc. visits).

    This offer was seen recently and will not be shown again until the limit is passed.

    **Affected tags:** Referrer
  </Accordion>

  <Accordion title="Unable to find suitable offer">
    The Mention Me platform can be configured to serve different Offers to users based on information passed to us within the tag or from information we know about the customer.

    In this case, we were unable to choose an appropriate Offer from the information available to us and have opted to show nothing to the user.

    This may indicate the triggering rules for your Campaigns are set too narrow and you may wish to add additional Campaigns to target users who are missing out.

    **Affected tags:** Referrer
  </Accordion>

  <Accordion title="Skipping order tag, will attempt to serve offer">
    The tag received is missing mandatory order details. Please ensure all mandatory parameters for the order, including `order_currency`, `order_subtotal` and `order_number` are all present.

    We will still attempt to serve an Offer to your customer so they can participate in the referral programme.

    **Affected tags:** Referrer, Order Tracking
  </Accordion>

  <Accordion title="Referee search disabled">
    The Referee Tag has been disabled within the Mention Me platform. No Referee tag will be served to any users. We advise against disabling the tag as this may harm Referee conversion.

    **Affected tags:** Referee
  </Accordion>

  <Accordion title="Unable to serve this locale">
    The `locale` provided does not have a corresponding Campaign setup. Check whether the `locale` is being passed correctly, or consider setting up a new Campaign to allow Referees for this locale to be served correctly.

    **Affected tags:** Referee
  </Accordion>

  <Accordion title="Dashboard disabled">
    The Dashboard Tag has been disabled within the Mention Me platform. No Dashboard tag will be served to any users. We advise against disabling the tag as this may prevent users from sharing their offers with friends.

    **Affected tags:** Dashboard
  </Accordion>

  <Accordion title="Mention Me Tag failed to insert into wrapper">
    This tag requires a location on the page for the content to be inserted into. The Mention Me tags were unable to find this location. By default, we expect a div with the id `mmWrapper` to be present on the page:

    ```html theme={null}
    <div id="mmWrapper"></div>
    ```

    If you are having trouble positioning the wrapper or need advice regarding placing multiple Mention Me elements on the page, please reach out to us and we'll assist you.

    **Affected tags:** Referee, Dashboard, Landing Page
  </Accordion>
</AccordionGroup>
