Had the same issue a while back you need to use https://www.peeringdb.com/  
instead now 😊

Rob

From: Pdb-tech <[email protected]> On Behalf Of Matthew 
Walster
Sent: 14 June 2022 10:25
To: Marshall Mahachi <[email protected]>
Cc: [email protected]
Subject: Re: [PDB Tech] PeeringDB API : Getting a 301 error when updating a 
"net" type object

EXTERNAL EMAIL*
Marshall,

From the headers, can you tell where you are being redirected to?

Matthew Walster

On Tue, 14 Jun 2022, 16:40 Marshall Mahachi, 
<[email protected]<mailto:[email protected]>> wrote:
Hi pdb-tech list

I am trying to update a Network ("net" type object) using the API : 
https://peeringdb.com<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpeeringdb.com%2F&data=05%7C01%7Crobert.woodward%40colt.net%7Cd40746c92783476df10208da4de7c94d%7Cb859cf7eff8a40bbbd0fda56e6dc0eb8%7C1%7C0%7C637907955586643138%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000%7C%7C%7C&sdata=0TO69dsROMYVdVE0pI1mMrboC1jcdi4hZEWzWGENjAk%3D&reserved=0>/api/net/{id}
and I am getting a 301 error message:

<html>
<head><title>301 Moved Permanently</title></head>
<body>
<center><h1>301 Moved Permanently</h1></center>
</body>
</html>

However, it seems to be working fine when on beta ---->> 
https://beta.peeringdb.com<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbeta.peeringdb.com%2F&data=05%7C01%7Crobert.woodward%40colt.net%7Cd40746c92783476df10208da4de7c94d%7Cb859cf7eff8a40bbbd0fda56e6dc0eb8%7C1%7C0%7C637907955586643138%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000%7C%7C%7C&sdata=b%2F8IBb%2B8VaX8xm84dqhmVVrAF055ckCat8IczOYc6ac%3D&reserved=0>/api/net/{id}
 ..

Has anyone run into this problem before ? or if anyone knows if it's a known 
issue that's being tracked and is to be released.

Thanks

Best regards

--

MarshallMahachi
Network Automation

Phone: +61 7 3062 7601
[Connect on 
LinkedIn]<https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.linkedin.com%2Fin%2Fmarshallmahachi&data=05%7C01%7Crobert.woodward%40colt.net%7Cd40746c92783476df10208da4de7c94d%7Cb859cf7eff8a40bbbd0fda56e6dc0eb8%7C1%7C0%7C637907955586643138%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000%7C%7C%7C&sdata=EKo9NmzaIFei3ZYncAe5FhtX65p%2BUbqfaZDN2QiHap0%3D&reserved=0>

Your experience is our top priority. Let us know how we are doing: 
[email protected]<mailto:[email protected]>

[Visit 
Megaport.com]<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.megaport.com%2F&data=05%7C01%7Crobert.woodward%40colt.net%7Cd40746c92783476df10208da4de7c94d%7Cb859cf7eff8a40bbbd0fda56e6dc0eb8%7C1%7C0%7C637907955586799345%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000%7C%7C%7C&sdata=WG3EgoUauRpYZ0A%2BZwxeeP3um2Zl39fpU01V06K%2B6xk%3D&reserved=0>

[ISO/IEC 27001 Certified]

This message and the information in or attached to it, is intended for the 
named addressee only and may contain confidential information. If you are not 
the intended recipient, please delete it without retaining any copies and 
notify the sender. Note that all communications to and from Megaport may be 
stored and used in accordance with our Privacy 
Policy<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.megaport.com%2Flegal%2Fprivacy-policy%2F&data=05%7C01%7Crobert.woodward%40colt.net%7Cd40746c92783476df10208da4de7c94d%7Cb859cf7eff8a40bbbd0fda56e6dc0eb8%7C1%7C0%7C637907955586799345%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000%7C%7C%7C&sdata=bhzOKQeSlP%2B3YZyHV0EMgWAOjXmKCxeHE2KM%2BSKcqns%3D&reserved=0>.
 Megaport (Australia) Pty Ltd. Australia. (Company No. 164 521 519). Level 3, 
825 Ann Street. Fortitude Valley QLD 4006.
_______________________________________________
Pdb-tech mailing list
[email protected]<mailto:[email protected]>
https://lists.peeringdb.com/cgi-bin/mailman/listinfo/pdb-tech<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.peeringdb.com%2Fcgi-bin%2Fmailman%2Flistinfo%2Fpdb-tech&data=05%7C01%7Crobert.woodward%40colt.net%7Cd40746c92783476df10208da4de7c94d%7Cb859cf7eff8a40bbbd0fda56e6dc0eb8%7C1%7C0%7C637907955586799345%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000%7C%7C%7C&sdata=Dhj26uVKTv7F0l4dKqUK9aDIIJvoyWdDfjBs0Bh7Fd8%3D&reserved=0>
* WARNING - EXTERNAL: This email originated from outside of Colt. Do not click 
any links or open any attachments unless you trust the sender and know that the 
content is safe.

[Colt Disclaimer] This email is from an entity of the Colt group of companies. 
Colt Group Holdings Limited, Colt House, 20 Great Eastern Street, London, EC2A 
3EH, United Kingdom, registered in England and Wales, under company number 
11530966. Corporate and contact information for our entities can be found at 
https://www.colt.net/legal/colt-group-of-companies/. Internet communications 
are not secure and Colt does not accept responsibility for the accurate 
transmission of this message. Content of this email or its attachments is not 
legally or contractually binding unless expressly previously agreed in writing 
by Colt
_______________________________________________
Pdb-tech mailing list
[email protected]
https://lists.peeringdb.com/cgi-bin/mailman/listinfo/pdb-tech

Reply via email to