---
title: "Initiate Merchant Query Errors"
source_url: https://docs.rapyd.net/en/initiate-merchant-query-errors-601439.html
lang: en
---

# Initiate Merchant Query Errors

When the requested operation cannot be completed, Rapyd returns an error code and message.

| Error Code | Description |
| --- | --- |
| INVALID_FIELDS | The request attempted an operation, but one of the fields contained a value that is not valid. The request was rejected. Corrective action: The name of the field appears at the end of the response code. Use a valid value. |

The sections below describe the problems that cause the error.

Query Definition Fields

| Field | Error |
| --- | --- |
| `partner` | The value is invalid or the partner is not authorized. |
| `partner_merchant_reference` | The value is not a string. |
| `partner_query_reference` | The value is not a string or is not unique. |
| `search_criteria` | The object is missing. |

'queried_merchant' Fields

| Field | Error |
| --- | --- |
| `business_category` | The value is not a string. |
| `dba_name` | Incorrect format. |
| `email` | Incorrect format. |
| `is_ecommerce` | The value is not Boolean. |
| `legal_name` | Incorrect format. |
| `mcc` | Incorrect format. |
| `phone_numbers` | The value is not an array of strings. |
| `url` | Incorrect format. |

'principals' Fields

| Field | Error |
| --- | --- |
| `email` | Incorrect format. |
| `first_name` | The value is not a string. |
| `last_name` | The value is not a string. |
| `middle_initial` | The value is not a string. |
| `phone_number` | Incorrect format. |

'address' Fields

| Field | Error |
| --- | --- |
| `address_line_1` | Incorrect format. |
| `address_line_2` | Incorrect format. |
| `city` | The value is not a string. |
| `country` | The value is not a string with a two-letter ISO 3166-1 ALPHA-2 country code. |
| `postal_code` | Incorrect format. |
