Giter Club home page Giter Club logo

Comments (5)

bbaileyga1 avatar bbaileyga1 commented on August 20, 2024

Thanks, I find it curious that it worked fine with one org with 1 network but the second org with 10 networks it failed.

from dashboard-api-python.

obrigg avatar obrigg commented on August 20, 2024

Good question. I'm not sure yet.
I think it depends on the amount of API activity in the organization.

from dashboard-api-python.

TKIPisalegacycipher avatar TKIPisalegacycipher commented on August 20, 2024

On my end the command completes successfully, so I'm not able to reproduce this in 1.36.0.

Please provide an example script where this is reproducible.

from dashboard-api-python.

obrigg avatar obrigg commented on August 20, 2024

Sure. Just tried it with 1.37 - still occurs.
The API key and org are the DevNet sandbox, that's why they're visible.

import asyncio
import meraki.aio

async def main():
    async with meraki.aio.AsyncDashboardAPI(
        api_key="75dd5334bef4d2bc96f26138c163c0a3fa0b5ca6",
        output_log=False,
        suppress_logging=True,
        maximum_concurrent_requests=5,
        nginx_429_retry_wait_time=2,
        wait_on_rate_limit=True,
        maximum_retries=100,
    ) as aiomeraki:
        try:
            api_requests = await aiomeraki.organizations.getOrganizationApiRequests(org_id, timespan=7 * 86400, perPage=1000, total_pages=10)
        except Exception as e:
            print(f"Some other ERROR: {e}")

org_id = 1215707
loop = asyncio.new_event_loop()
loop = asyncio.get_event_loop()
loop.run_until_complete(main())

from dashboard-api-python.

TKIPisalegacycipher avatar TKIPisalegacycipher commented on August 20, 2024

If you encounter this issue, please ensure you update to the latest version of the repo, at least 1.39.0.

from dashboard-api-python.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.