[arin-tech-discuss] Problem creating customer record using ARIN REST REG API

Jarl Stefansson jarl.stefansson at gmail.com
Sun Dec 23 01:22:31 EST 2012


Hi,

I'm building a python library to communicate with the ARIN REST REG API and
until I ran into the following issue everything has worked great.

 I'm able to retrieve/modify Net and Customer objects without any issues
but when I try to create a new Customer I'm getting the following error,
I've consulted with the documentation and as far as I can see I'm following
it to the letter, perhaps someone here can assist, I've included the error
I receive from the API but with modified NET and API keys for
security/privacy reasons.


DEBUG:root:request() HTTP Response content b'
<html>
<head>
<title>JBoss Web/7.0.10.Final - Error report</title>
<style>
<!--H1
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
H2
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
H3
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
BODY
{font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}
P
{font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
{color : black;}A.name {color : black;}HR {color : #525D76;}-->
</style>
</head>
<body>
<h1>
HTTP Status 404 - Could not find resource for relative :
/net/NET-192-168-0-0-1/customer of full path:
http://jboss1.cha.arin.net:8080/regcore/seam/resource/rest/net/NET-192-168-0-0-1/customer?apikey=API-DEAD-BEEF-CAFE-1234
</h1>
<HR size="1" noshade="noshade">
<p><b>type</b> Status report</p>
<p><b>message</b> <u>Could not find resource for relative :
/net/NET-192-168-0-0-1/customer of full path:
http://jboss1.cha.arin.net:8080/regcore/seam/resource/rest/net/NET-192-168-0-0-1/customer?apikey=API-DEAD-BEEF-CAFE-1234
</u></p>
<p><b>description</b>
<u>
The requested resource (Could not find resource for relative :
/net/NET-192-168-0-0-1/customer of full path:
http://jboss1.cha.arin.net:8080/regcore/seam/resource/rest/net/NET-192-168-0-0-1/customer?apikey=API-DEAD-BEEF-CAFE-1234)
is not available.
</u>
</p>
<HR size="1" noshade="noshade">
<h3>JBoss Web/7.0.10.Final</h3>
</body>
</html>'

p.s. I will be releasing the library under GPL v.3 once finished.

-- 
Regards,

Jarl Stefansson
jarl.stefansson at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.arin.net/pipermail/arin-tech-discuss/attachments/20121223/8a291f54/attachment.html>


More information about the arin-tech-discuss mailing list