Thanks Garth!!
If this is the reason, I have one more question regarding the
same issue.
I try to assign
https://www.ote.arin.net/rest/net/NET-65-112-0-0-1/reassign?apikey=MYAPIKEY.
Payload is
<net xmlns="http://www.arin.net/regrws/core/v1">
<netBlocks>
<netBlock>
<cidrLength>27</cidrLength>
<startAddress>65.127.10.160</startAddress>
<type>S</type>
</netBlock>
</netBlocks>
<netName>Q0119-65-127-10-160</netName>
<orgHandle>CBC-208</orgHandle>
<originASes>
<originAS>209</originAS>
</originASes>
<parentNetHandle>NET-65-112-0-0-1</parentNetHandle>
<version>4</version>
</net>
It is exactly same case as I tried to assign 198.36.189.64/29
before, except the ip and mask no are different. I should get same "The API key
is not authorized to make that request." , Response code is 401,Response
message is Unauthorized.
But instead I got,
Response code is 400,
Response message : Bad Request
And response xml from Arin
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<error xmlns="http://www.arin.net/regrws/core/v1">
<add itionalInfo/><code>E_ENTITY_VALIDATION</code>
<components>
<component>
<message>IP range overlaps with existing network(s).</message>
<name>startAddress</nam e>
</component>
</components>
<message>Payload entity failed to validate; see component messages for
details.</message>
</error>
They both, 65.127.10.160/27 and 198.36.189.64/29 are assigned to CBC-208. And I
tried to assign both netBlocks to another company wrongly. I should get same
error messages for both transaction. Correct?
Thanks
Sean Zhao
[email protected]
From: Garth Dubin [mailto:[email protected]]
Sent: Monday, January 19, 2015 10:49 AM
To: Zhao, Sean; '[email protected]'
Subject: RE: [arin-tech-discuss] Would anybody explain what Unauthorized means?
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:
[email protected]<mailto:[email protected]>
[[email protected]] on behalf of Zhao, Sean
[[email protected]]
Sent: Monday, January 19, 2015 9:39 AM
To: Zhao, Sean; Jon Worley; '[email protected]'
Subject: Re: [arin-tech-discuss] Would anybody explain what Unauthorized means?
Just wonder if there is any luck there?
Thanks
Sean Zhao
[email protected]<mailto:[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.
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