Skip to content

429 error shouldn't appear should it? #88

Description

@sonic182

Hi, I'm having 429 error getting information from the api

I'm creating the client object with:

BigcommerceApi(
            client_id=settings.BIGCOMMERCE_APP_CLIENT_ID,
            store_hash=self.store_hash,
            access_token=self.access_token,
            rate_limiting_management={
                'min_requests_remaining': 3,
                'wait': True,
                'callback_function': None
            })

And it still gets error

imagen

Expected behavior

Not exception

Actual behavior

Exception raised

Steps to reproduce behavior

I were trying to get products data from an customer that have a lot of skus and products

for product in self.client.Products.iterall():
    # some processing ...

    skus = product.skus()  # <- here it raises
    # more code ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions