[arin-tech-discuss] Restful Question -- Error 403
Jon Worley
jonw at arin.net
Sun Sep 29 12:06:50 EDT 2019
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
ARIN
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:
Hello,
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
URL:
http://reg.ote.arin.net/rest/net/<PARENT_NET>/customer?apikey=<APIKEY<http://reg.ote.arin.net/rest/net/%3cPARENT_NET%3e/customer?apikey=%3cAPIKEY>>
Data:
{
"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>
https://lists.arin.net/mailman/listinfo/arin-tech-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.arin.net/pipermail/arin-tech-discuss/attachments/20190929/0f9dedc6/attachment.htm>
More information about the arin-tech-discuss
mailing list