Endless loop when retrieving zones accross multiple pages

Created on 15 July 2025, 16 days ago

Problem/Motivation

We have 92 zones and the code enters in an endless loop since it starts with next_page=0, however cloudflare considers the first page - 1 and therefore the requests returns 1 for the page variable. Then the code calls the API with page=1 in a while=true loop.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Needs work

Version

2.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany hchonov πŸ‡ͺπŸ‡ΊπŸ‡©πŸ‡ͺπŸ‡§πŸ‡¬

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024