Resolving the "Incorrect format expected an integer" error when creating an MX record
Written by
Updated at November 27, 2023
Issue description
When creating an MX record, you see this error: Incorrect format: expected an integer
.
Solution
The Incorrect format: expected an integer
error indicates that when creating an MX record, one of its fields includes text instead of a number.
The MX
record consists of two parts:
PREFERENCE
: A 16-bit integer that specifies the host priority. The lower the value, the higher the host preference.EXCHANGE
: The FQDN of the host that processes emails in the specified zone. This field value must point to an A or AAAA record.
Alert
In the Value
field, you need to specify a number (record priority) followed by text. For example, 10 mx.yandex.net.
More details here.
If the issue persists
If the above actions didn't help, create a request for support
When creating a request, please attach a screenshot of the record settings.