Just wonder if there is any luck there? Thanks
Sean Zhao [email protected] From: Zhao, Sean Sent: Tuesday, January 13, 2015 9:36 AM To: 'Jon Worley'; '[email protected]' Subject: RE: [arin-tech-discuss] Would anybody explain what Unauthorized means? Yes url: https://www.ote.arin.net/rest/net/NET-198-36-189-64-1/reassign?apikey=MY-API-KEY method is PUT payload is <?xml version="1.0" encoding="UTF-8"?> <net xmlns="http://www.arin.net/regrws/core/v1"> <netBlocks> <netBlock> <cidrLength>29</cidrLength> <startAddress>198.36.189.64</startAddress> <type>S</type> </netBlock> </netBlocks> <netName>Q0113-198-36-189-64</netName> <orgHandle>CBC-208</orgHandle> <originASes> <originAS>209</originAS> </originASes> <parentNetHandle>NET-198-36-189-64-1</parentNetHandle> <version>4</version> </net> Response code is 401 Response message is Unauthorized The xml returned by Arin is <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <error xmlns="http://www.arin.net/regrws/core/v1"> <additionalInfo/> <code>E_AUTHENTICATION</code> <components/> <message>The API key is not authorized to make that request.</message> </error> Thanks Sean Zhao [email protected]<mailto:[email protected]> From: Jon Worley [mailto:[email protected]] Sent: Monday, January 12, 2015 5:43 PM To: Zhao, Sean; '[email protected]' Subject: Re: [arin-tech-discuss] Would anybody explain what Unauthorized means? Hello Sean, Can you please send the payload/URL to us via Ask ARIN? It's difficult for us to give you an exact answer without looking at the full context. If you have any further questions, comments, or concerns please respond to this message or contact me directly. Regards, Jon Worley Principal Technical Analyst ARIN Registration Services https://www.arin.net/ [email protected]<mailto:[email protected]> 703.227.0660 From: <Zhao>, Sean <[email protected]<mailto:[email protected]>> Date: Monday, January 12, 2015 at 11:45 AM To: "'[email protected]<mailto:'[email protected]>'" <[email protected]<mailto:[email protected]>> Subject: [arin-tech-discuss] Would anybody explain what Unauthorized means? Hi, I was trying to swip an ip 198.36.189.64/29. I was expecting an error return from Arin because this ip has been assigned already. But when I was trying to assign this ip, the error message I got from Arin is <?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_AUTHENTICATION</code> <components/> <message>The API key is not authorized to make that request.</message> </error> Somehow that does not make sense to me because this was assigned by me last week. That means I do have good APIKEY. I am trying to work on the error handling. So I am expecting to get error like "this ip has been assigned already" or "overlaps with existing network(s)". Thanks Sean Zhao [email protected]<mailto:[email protected]> 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. 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.
_______________________________________________ arin-tech-discuss mailing list [email protected] http://lists.arin.net/mailman/listinfo/arin-tech-discuss
