amazon-web-servicesgmailamazon-route53google-workspacemail-server

Configuring GSuite to work with route 53 - "MX record doesn't have 2 fields" error


I'm doing my best to follow GSuite's out of date instructions for routing emails to Gmail via a AWS Route 53 hosted zone (i.e. domain). Here are the outdated instructions:

enter image description here

I set the Values as instructed:

enter image description here

And I see:

Error occurred
Bad request.
(InvalidChangeBatch 400: MXRRDATANotTwoFields (MX record doesn't have 2 fields) encountered with '')

enter image description here

So it will not allow me to create the records.


Solution

  • I was able to reproduce this exact scenario when I used the new AWS Route 53 interface.

    To resolve it I selected the use the old console. link from the top.

    enter image description here

    I then pasted the values below and it worked.

    1 aspmx.l.google.com.
    5 alt1.aspmx.l.google.com.
    5 alt2.aspmx.l.google.com.
    10 alt3.aspmx.l.google.com.
    10 alt4.aspmx.l.google.com.
    

    For now use the old console for doing this would be my suggestion.