10-04-2024 09:46 AM
Hi,
Do you have a BGP configuration API (/networks/{networkId}/appliance/vpn/bgp)?
I'm trying to get the configuration (via python and via Meraki Python Library), but I always get the response: 500 Internal Server Error.
I have configured BGP on my MX and it works without any problems, I don't know why I can't download the configuration via API.
10-04-2024 10:11 AM
Hi ,
Works fine on my side
{"enabled":true,"asNumber":xxx,"ibgpHoldTimer":90,"neighbors":[{"ip":"xxxx","remoteAsNumber":xxxx,"allowTransit":false,"ebgpHoldTimer":240,"ebgpMultihop":1}]}I'm polling a HUB running 18.107.6
10-04-2024 10:28 AM
I manage several networks where the endpoint was working fine, for a period returned 404 and now 500.
10-04-2024 03:03 PM
Hello @lukasz-buchla,
I would recommend opening a Meraki support case to help investigate further, if you have not done so already. An internal server error message is something that Meraki support can look for more information about internally.
Also, does the same message occur if you run the API call independently of Python? Postman and curl can both be leveraged for testing API calls too.
10-05-2024 02:19 AM
Using curl gives the exact same error.
Strange, because other requests pass without any problem.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide