Skip to content

getCatalogRoots failing due to 403 error #30

@Ben4FH

Description

@Ben4FH

I noticed that I wasn't getting any notifications from the bot when I started monitoring, it looks like a 403 error is being returned when requesting /catalog/initializers. Has Vinted changed their API endpoints?

2025-09-10T12:03:02.739Z [DEBUG]: Current ID: 0, Last published time: 1757505770726, ID time since last publication: 0
2025-09-10T12:03:02.739Z [DEBUG]: minFetchedRange: 99999999999, maxFetchedRange: 0, numberOfItemBetweenRange: -99999999999
2025-09-10T12:03:02.739Z [DEBUG]: Request success rate: 0%
2025-09-10T12:03:02.739Z [DEBUG]: Concurrency: 15
2025-09-10T12:03:03.170Z [DEBUG]: Error sending request to https://www.vinted.co.uk/api/v2/catalog/initializers,⁠ status: 403
2025-09-10T12:03:03.170Z [DEBUG]: Error fetching catalog roots TypeError: Cannot read properties of undefined (reading 'catalogs') at buildCategoryMapFromRoots (file:///app/src/database.js:32:16) at getCatalogRoots (file:///app/main.js:76:17) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async file:///app/main.js:90:1

It is fetching the cookie fine prior to this.

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