[arin-tech-discuss] Restful Question -- Error 403

Gavin Budd gavin at fatbeam.com
Sun Sep 29 22:47:38 EDT 2019

The first error seems to have been related to using the http version, not the https...I did a wireshark and saw that the server did a redirect, but the Python library didn't seem to follow properly.  Changed to https and started getting different errors. Worked though those (mostly formatting and me not realizing that the data needs to be XML, not JSON)...it is now working.

Thank you!

--Gavin Budd

From: Jon Worley <jonw at arin.net>
Sent: Sunday, September 29, 2019 9:07 AM
To: Gavin Budd <gavin at fatbeam.com>
Cc: arin-tech-discuss at arin.net
Subject: Re: [arin-tech-discuss] Restful Question -- Error 403

Hello Gavin,

The parent org handle field should be left blank, IIRC. That's the only thing I spotted with a quick look. Perhaps give that a try and see if it goes through OK. If not, reply back to the list or me directly so we can figure out what's going on.

-Jon Worley
Technical Services Lead
Sent from my iPad

On Sep 29, 2019, at 12:13 AM, Gavin Budd via arin-tech-discuss <arin-tech-discuss at arin.net<mailto:arin-tech-discuss at arin.net>> wrote:


Apologies if this is a repeat, I am unsure if the first message I sent went through...

I am trying to automate some ARIN registrations and am running into an odd error...

When I try to create a new customer record, submitting this data (with actual values) via a python requests.post call, I get an error 403 with the error text as {'componentErrors': [], 'additionalMessages': [], 'code': 'E_UNSPECIFIED', 'message': 'This method for internal ARIN use only.'}.  Any idea on what method they are referring to and how to correct it?  This happens on both the OTE database and the live database.

Thank you!

--Gavin Budd

  "customer xmlns": "http://www.arin.net/regrws/core/v1",
  "customerName": "Name",
  "iso3116-1": {
    "name": "UNITED STATES",
    "code2": "US",
    "code3": "USA",
    "e164": 1
  "handle": "",
  "streetAddress": {
    "line number = \"1\"": "Address",
    "line number = \"2\"": ""
  "city": "City",
  "ISO3166-2": "ST",
  "postalCode": "55555",
  "parentOrgHandle": "ORG-ID"
arin-tech-discuss mailing list
arin-tech-discuss at arin.net<mailto:arin-tech-discuss at arin.net>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.arin.net/pipermail/arin-tech-discuss/attachments/20190930/434b0f89/attachment-0001.htm>

More information about the arin-tech-discuss mailing list