# Message ID not found

{% hint style="danger" %}
`Message ID not found; it is expected in a receipt`
{% endhint %}

For Unifi to identify what transaction an inbound receipt is for, it needs to locate the message IDs from the inbound request. These IDs are then cross referenced against the Message ID and External Message ID fields on the transaction to make a match. These values are extracted from the request using the Reference lookup script found on the inbound settings of a Receipt message.

This error signifies that Unifi could not find a value for the message ID from the received request, and indicates that the issue is either with the received request, i.e. no message ID given, wrong format, etc or the reference lookup script for this message is incorrect.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sharelogic.com/unifi/4.1/troubleshooting/integration-responses/message-id-not-found.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
