Skip to content

504 Server Error #26

@kyleweise

Description

@kyleweise

I have some code that makes use of this package in order to aggregate data from a specific Monday board in our workspace to compare with another system.

def gather_monday(client,board_id):
    try:
        items = client.boards.fetch_all_items_by_board_id(board_id)
    except Exception:
        items = None

    if not items:
        raise RuntimeError("Unable to successfully grab data from Monday board."):

   #...rest of code that uses `items`

where client is the MondayClient:
client = MondayClient(token = os.getenv('MONDAY_API_TOKEN'),)

and board_id is the ID of the board I want to pull from.

I have been pretty consistently receiving these errors when running this:

Error while executing query: 504 Server Error: Gateway Timeout for url: https://api.monday.com/v2

Of note, the board I'm pulling from has more items than DEFAULT_PAGE_LIMIT_ITEMS (500), and we're not allowed to increase that higher than 500.

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