[arin-tech-discuss] Question of "The API key is not authorized to make that request" when I try to create an Org
Zhao, Sean
Sean.Zhao at CenturyLink.com
Mon Oct 10 16:27:25 EDT 2011
David,
Today, I got an error when I was trying to create an Org. Here are my request payload and response payload. I don't understand why it is failed this time. I am OK when I am trying to create ADVANCED ENERGY IDEAS. I got handle returned for AEI-20 and AEI19... But not this time for "ADVANCED ENERGY IDEAS". Does that mean I create some Org for some companies, but I cannot for some others? Or maybe something wrong in my url
https://www.arin.net/rest/net/NET-204-228-0-0-1/org?apikey=MyAPIKey. The only thing I can think of is the netHandle in the url, but I cannot be sure and don't know the reason if it is the problem.
Request Payload:
<?xml version="1.0" encoding="UTF-8"?>
<poc xmlns="http://www.arin.net/regrws/core/v1">
<iso3166-2>CO</iso3166-2>
<iso3166-1>
<name></name>
<code2></code2>
<code3>USA</code3>
<e164></e164>
</iso3166-1>
<emails>
<email>vhanji at qwest.com</email<mailto:vhanji at qwest.com%3c/email>>
</emails>
<streetAddress>
<line number="1">600 17TH ST</line>
</streetAddress>
<city>DENVER</city>
<postalCode>80202</postalCode>
<contactType>ROLE</contactType>
<companyName>PEACE CORPS HEADQUARTERS</companyName>
<lastName>Help Desk</lastName>
<phones>
<phone>
<type>
<description>OFFICE</description>
<code>O</code>
</type>
<number>2212112125</number>
</phone>
</phones>
</poc>
Response Payload
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<poc xmlns="http://www.arin.net/regrws/core/v1">
<city>DENVER</city>
<companyName>PEACE CORPS HEADQUARTERS</companyName>
<contactType>ROLE</contactType>
<iso3166-1>
<code2>US</code2>
<code3>USA</code3>
<e164>1</e164>
<name>UNITED STATES</name>
</iso3166-1>
<emails>
<email>
vhanji at qwest.com</email<mailto:vhanji at qwest.com%3c/email>>
</emails>
<lastName>Help Desk</lastName>
<streetAddress>
<line number="0">600 17TH ST</line>
</streetAddress>
<phones>
<phone>
<number>+1-221-211-2125</number>
<type>
<code>O</code>
<description>OFFICE</description>
</type>
</phone>
</phones>
<handle>HELPD113-ARIN</handle>
<postalCode>80202</postalCode>
<registrationDate>2011-10-10T15:02:45.168-04:00</registrationDate>
<iso3166-2>CO</iso3166-2>
</poc>
Thanks,
Sean Zhao
Sean.Zhao at CenturyLink.com
________________________________
This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly
prohibited and may be unlawful. If you have received this communication
in error, please immediately notify the sender by reply e-mail and destroy
all copies of the communication and any attachments.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.arin.net/pipermail/arin-tech-discuss/attachments/20111010/247e4c00/attachment.html>
More information about the arin-tech-discuss
mailing list