Skip to content

Update to v3 CF API #19

@aboccassiniavvale

Description

@aboccassiniavvale

GET /v2/spaces/[APP_GUID]/apps?q=name%3Akupit-contract-cc-srv&inline-relations-depth=1 HTTP/1.1
Host: api.cf.eu10-004.hana.ondemand.com
Accept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: application/json
User-Agent: go-cli 8.7.4+db5d612.2023-10-20 / linux

RESPONSE: [2026-02-20T10:04:43Z]
HTTP/1.1 429 Too Many Requests
Connection: close
Content-Length: 135
Content-Type: text/plain; charset=utf-8
Date: Fri, 20 Feb 2026 10:04:43 GMT
Retry-After: 3566
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload;
X-B3-Spanid: xxxxxxxxxxxx
X-B3-Traceid: xxxxxxxxxxxxxxxxxxxxxxxxx
X-Ratelimit-Limit: 20000
X-Ratelimit-Limit-V2-Api: 0
X-Ratelimit-Remaining: 18000
X-Ratelimit-Remaining-V2-Api: 0
X-Ratelimit-Reset: 1771583649
X-Ratelimit-Reset-V2-Api: 1771585449
X-Vcap-Request-Id: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

{"description":"Rate Limit of V2 API Exceeded. Please consider using the V3 API","error_code":"CF-RateLimitV2APIExceeded","code":10018}

It would appear that version v2 has stricter rate limits. You should update to V3 as specified in the error message.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions