[arin-tech-discuss] Would anybody explain what Unauthorized means?

Garth Dubin gdubin at arin.net
Mon Jan 19 10:49:26 EST 2015


Sean,

The authorization scheme currently just verifies whether you have permission to reassign the specified block.  Since it's already been reassigned to another organization, you technically do not have permission to reassign it again.  If you want to reassign it to a new party, you'd have to delete the existing reassignment and perform the reassign call again.

As for the error handling, I see your point and we can investigate how to make the messaging more detailed in a future release.  Please file an ACSP regarding the error messaging in the registration system so that we can track this request and prioritize along with other suggested improvements.  The form can be found here:

https://www.arin.net/public/acsp/index.xhtml

Regards,

Garth Dubin
Software Integration Manager

________________________________
From: arin-tech-discuss-bounces at arin.net [arin-tech-discuss-bounces at arin.net] on behalf of Zhao, Sean [Sean.Zhao at CenturyLink.com]
Sent: Monday, January 19, 2015 9:39 AM
To: Zhao, Sean; Jon Worley; 'arin-tech-discuss at arin.net'
Subject: Re: [arin-tech-discuss] Would anybody explain what Unauthorized means?

Just wonder if there is any luck there?

Thanks

Sean Zhao
sean.zhao at centurylink.com

From: Zhao, Sean
Sent: Tuesday, January 13, 2015 9:36 AM
To: 'Jon Worley'; 'arin-tech-discuss at arin.net'
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
sean.zhao at centurylink.com<mailto:sean.zhao at centurylink.com>

From: Jon Worley [mailto:jonw at arin.net]
Sent: Monday, January 12, 2015 5:43 PM
To: Zhao, Sean; 'arin-tech-discuss at arin.net'
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/
hostmaster at arin.net<mailto:hostmaster at arin.net>
703.227.0660

From: <Zhao>, Sean <Sean.Zhao at CenturyLink.com<mailto:Sean.Zhao at CenturyLink.com>>
Date: Monday, January 12, 2015 at 11:45 AM
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>>
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
sean.zhao at centurylink.com<mailto: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.
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/20150119/3d94cf75/attachment.html>


More information about the arin-tech-discuss mailing list