[arin-tech-discuss] Question about the update Org address...
Zhao, Sean
Sean.Zhao at CenturyLink.com
Thu Aug 29 15:32:54 EDT 2013
Thanks, Andy.
I am good now.
Thanks a lot! please go ahead to close the ticket. I am all good.
Thanks
Sean Zhao
sean.zhao at centurylink.com
From: Andy Newton [mailto:andy at arin.net]
Sent: Thursday, August 29, 2013 3:30 PM
To: Zhao, Sean; 'arin-tech-discuss at arin.net'
Cc: Grimes, Ronald
Subject: Re: [arin-tech-discuss] Question about the update Org address...
Sean,
Yes, you need to provide a populated pocLinkRef. That is the mechanism for associating POCs to ORGs. If they are not changing, you can leave them populated with the same references.
Andy Newton,
Chief Engineer, ARIN
From: <Zhao>, Sean <Sean.Zhao at CenturyLink.com<mailto:Sean.Zhao at CenturyLink.com>>
Date: Tuesday, August 27, 2013 11:13 PM
To: "Zhao, Sean" <Sean.Zhao at CenturyLink.com<mailto:Sean.Zhao at CenturyLink.com>>, Andrew Newton <andy at arin.net<mailto:andy at arin.net>>, "arin-tech-discuss at arin.net<mailto:arin-tech-discuss at arin.net>" <arin-tech-discuss at arin.net<mailto:arin-tech-discuss at arin.net>>
Cc: "Grimes, Ronald" <Ron.Grimes at CenturyLink.com<mailto:Ron.Grimes at CenturyLink.com>>
Subject: RE: [arin-tech-discuss] Question about the update Org address...
Hi, Andy,
I made some progress. But still have something confusing. My payload is below. But I still get an error says below. Does that mean that I have to fill up the pocLinkRef section even I don't have anything to change in this section?
<?xml version="1.0" encoding="UTF-8"?>
<org xmlns="http://www.arin.net/regrws/core/v1"<http://www.arin.net/regrws/core/v1%22>>
<registrationDate>1999-10-30T00:00:00-04:00</registrationDate>
<iso3166-2>OH</iso3166-2>
<iso3166-1>
<code2>US</code2>
</iso3166-1>
<streetAddress>
<line number="0">6000 Parkwood Pl.</line>
</streetAddress>
<city>Dublin</city>
<postalCode>43016</postalCode>
<handle>QIO</handle>
<orgName>Qwest IP OpsEng</orgName>
<pocLinks/>
</org>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><error xmlns="http://www.arin.net/regrws/core/v1"><additionalInfo/><code>E_ENTITY_VALIDATION</code><components><component><message>Exactly<http://www.arin.net/regrws/core/v1%22%3e%3cadditionalInfo/%3e%3ccode%3eE_ENTITY_VALIDATION%3c/code%3e%3ccomponents%3e%3ccomponent%3e%3cmessage%3eExactly> one Admin POC is required.</message><name>pocLinkRef</name></component><component><message>Abuse POC is required.</message><name>pocLinkRef</name></component><component><message>Tech POC is required.</message><name>pocLinkRef</name></component></components><message>Payload entity failed to validate; see component messages for details.</message></error>
Thanks
Sean Zhao
sean.zhao at centurylink.com<mailto:sean.zhao at centurylink.com>
From: Zhao, Sean
Sent: Tuesday, August 27, 2013 5:27 PM
To: 'Andy Newton'; 'arin-tech-discuss at arin.net<mailto:'arin-tech-discuss at arin.net>'
Cc: Grimes, Ronald
Subject: RE: [arin-tech-discuss] Question about the update Org address...
Hi, Andy
Please let me repeat what you are saying.
For updating an org, handle, registrationDate and OrgName are mandatory fields
And for updating a poc, handle, and registrationDate are mandatory fields, am I corret?
Thanks
Sean Zhao
sean.zhao at centurylink.com<mailto:sean.zhao at centurylink.com>
From: Andy Newton [mailto:andy at arin.net]
Sent: Tuesday, August 27, 2013 5:17 PM
To: Zhao, Sean; 'arin-tech-discuss at arin.net<mailto:'arin-tech-discuss at arin.net>'
Cc: Grimes, Ronald
Subject: Re: [arin-tech-discuss] Question about the update Org address...
Sean,
The orgName is also required. Like registrationDate, is must appear exactly as it currently is.
One strategy that may be used for modifying POCs and ORGs is to issue a GET first and use that XML in a subsequent PUT, modifying only the fields that need modification.
Andy Newton,
Chief Engineer, ARIN
From: <Zhao>, Sean <Sean.Zhao at CenturyLink.com<mailto:Sean.Zhao at CenturyLink.com>>
Date: Tuesday, August 27, 2013 4:49 PM
To: Andrew Newton <andy at arin.net<mailto:andy at arin.net>>, "arin-tech-discuss at arin.net<mailto:arin-tech-discuss at arin.net>" <arin-tech-discuss at arin.net<mailto:arin-tech-discuss at arin.net>>
Cc: "Grimes, Ronald" <Ron.Grimes at CenturyLink.com<mailto:Ron.Grimes at CenturyLink.com>>
Subject: RE: [arin-tech-discuss] Question about the update Org address...
Thanks Andy. That is a good catch. Yes, I did miss the code2
But after I added code2 and iso3166-2, I still have the same error. I even tried <e164>1</e164> and code3 too. Still the misleading error message.
<?xml version="1.0" encoding="UTF-8"?>
<org xmlns="http://www.arin.net/regrws/core/v1"<http://www.arin.net/regrws/core/v1%22>>
<registrationDate>1999-10-30T00:00:00-04:00</registrationDate>
<iso3166-1>
<code2>US</code2>
</iso3166-1>
<streetAddress>
<line number="0">6000 Parkwood Pl.</line>
</streetAddress>
<city>Dublin</city>
<iso3166-2>OH</iso3166-2>
<postalCode>43016</postalCode>
<handle>QIO</handle>
</org>
The error message is
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><error xmlns="http://www.arin.net/regrws/core/v1"><additionalInfo/><code>E_BAD_REQUEST</code><components><component><message>This<http://www.arin.net/regrws/core/v1%22%3e%3cadditionalInfo/%3e%3ccode%3eE_BAD_REQUEST%3c/code%3e%3ccomponents%3e%3ccomponent%3e%3cmessage%3eThis> element cannot be modified.</message><name>orgName</name></component></components><message>This method requires certain parameters. Please see the documentation for details.</message></error>
Thanks
Sean Zhao
sean.zhao at centurylink.com<mailto:sean.zhao at centurylink.com>
From: Andy Newton [mailto:andy at arin.net]
Sent: Tuesday, August 27, 2013 3:50 PM
To: Zhao, Sean; 'arin-tech-discuss at arin.net<mailto:'arin-tech-discuss at arin.net>'
Cc: Grimes, Ronald
Subject: Re: [arin-tech-discuss] Question about the update Org address...
Sean,
I believe I have replicated your problem. Your payload does not provide the iso3166-1/code2 (2 letter country code) elements nor the iso3166-2 element (state/province). When these are omitted, the error given back incorrectly states that the orgName cannot be modified. I'll enter a bug in our tracking system for this.
Additionally, registrationDate is required as well as orgName and they must not be modified. You are correct that this is the case with POCs as well. I will enter a bug in our tracking system for this as it is awkward and seemingly unnecessary.
You will have to furnish pocs in the pocLink section. If you do not, you'll get error messages noting that you need one admin poc, abuse pocs, and tech pocs.
Andy Newton,
Chief Engineer, ARIN
From: <Zhao>, Sean <Sean.Zhao at CenturyLink.com<mailto:Sean.Zhao at CenturyLink.com>>
Date: Tuesday, August 27, 2013 3:09 PM
To: Andrew Newton <andy at arin.net<mailto:andy at arin.net>>, "arin-tech-discuss at arin.net<mailto:arin-tech-discuss at arin.net>" <arin-tech-discuss at arin.net<mailto:arin-tech-discuss at arin.net>>
Cc: "Grimes, Ronald" <Ron.Grimes at CenturyLink.com<mailto:Ron.Grimes at CenturyLink.com>>
Subject: RE: [arin-tech-discuss] Question about the update Org address...
Hi, Andy
If you check QIO the registration date is 1999-10-30T00:00:00-04:00. And the date in my payload also is
<registrationDate>1999-10-30T00:00:00-04:00</registrationDate>
They are exactly same. One day I was trying to update a poc. It did not work at first time because I did not provide the registrationDate. David asked me to provide it and to make sure the format string is exactly same as in your xml. So I did it and worked. Same as Org. I update the AD poc with org modifying. I am just trying to give you some clues
Thanks for your help Andy!
Thanks
Sean Zhao
sean.zhao at centurylink.com<mailto:sean.zhao at centurylink.com>
From: Andy Newton [mailto:andy at arin.net]
Sent: Tuesday, August 27, 2013 2:45 PM
To: Zhao, Sean; 'arin-tech-discuss at arin.net<mailto:'arin-tech-discuss at arin.net>'
Cc: Grimes, Ronald
Subject: Re: [arin-tech-discuss] Question about the update Org address...
Hi Sean,
The error message would seem to be misleading and we may have a bug in that it is reporting orgName instead of registrationDate. Modification of the registrationDate is likely triggering this error. If you remove registrationDate from your payload, does the error still occur?
Andy Newton,
Chief Engineer, ARIN
From: <Zhao>, Sean <Sean.Zhao at CenturyLink.com<mailto:Sean.Zhao at CenturyLink.com>>
Date: Tuesday, August 27, 2013 2:31 PM
To: "arin-tech-discuss at arin.net<mailto:arin-tech-discuss at arin.net>" <arin-tech-discuss at arin.net<mailto:arin-tech-discuss at arin.net>>
Cc: "Grimes, Ronald" <Ron.Grimes at CenturyLink.com<mailto:Ron.Grimes at CenturyLink.com>>
Subject: [arin-tech-discuss] Question about the update Org address...
Hi,
I am trying to update an org address. My payload is like following. And I got an error returned. I don't understand what does it mean because I am not trying to change OrgName.
<?xml version="1.0" encoding="UTF-8"?>
<org xmlns="http://www.arin.net/regrws/core/v1"<http://www.arin.net/regrws/core/v1%22>>
<registrationDate>1999-10-30T00:00:00-04:00</registrationDate>
<streetAddress>
<line number="0">6000 Parkwood Pl.</line>
</streetAddress>
<city>Dublin</city>
<postalCode>43016</postalCode>
<handle>QIO</handle>
<pocLinks/>
</org>
But I got an error returned,
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<error xmlns="http://www.arin.net/regrws/core/v1"<http://www.arin.net/regrws/core/v1%22>>
<additionalInfo/>
<code>E_BAD_REQUEST</code>
<components>
<component>
<message>This element cannot be modified.</message>
<name>orgName</name>
</component>
</components>
<message>This method requires certain parameters. Please see the documentation for details.</message>
</error>
Thanks
Sean Zhao
sean.zhao at centurylink.com<mailto:sean.zhao at centurylink.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.arin.net/pipermail/arin-tech-discuss/attachments/20130829/5940b17a/attachment.html>
More information about the arin-tech-discuss
mailing list