Skip to content

.es registration semi-broken

0

There seems to be a bug in your validation code for .es domain registration.
The domain contact's ES_LEGAL_FORM is set to PUBLIC_LIMITED_COMPANY, and the console forces me to specify a citizen identification number in ES_IDENTIFICATION. This is incorrect; ES_IDENTIFICATION must be a company number according to the documentation[1].

Entering a citizen identification number causes Gandi to reject the registration, as expected:

2400 : Command failed (541 Invalid attribute value; INVALID CONTACT \[OWNERCONTACT (Invalid attribute value syntax; The identification is not valid)])

The console should hide the ES_IDENTIFICATION_TYPE when ES_LEGAL_FORM is not INDIVIDUAL, and should apply CIF validation to the ES_IDENTIFICATION field.

[1] https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_ExtraParam.html

Edited by: mildsunrise on Apr 9, 2021 10:28 AM

Edited by: mildsunrise on Apr 9, 2021 10:28 AM

asked 5 years ago677 views
1 Answer
0

Okay, after poking a bit more I've figured it out. The API uses "Contact type" instead of "ES Legal Type" to decide if it has to validate a CIF or a citizen number, and I was incorrectly setting Person as the Contact type. It must be Company for the Registrant, but Person for the other two.

So, in summary. You must:

  • Uncheck "My Registrant, Administrative and Technical Contacts are all the same"
  • Set registrant to "Company" and the others to "Person"
  • In "ES ID Number", enter (1) the CIF for registrant and (2) citizen ID for the others.
  • Disable privacy guard on all contacts.
answered 5 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.