Skip to content

Split Error #1

@SebastianAviles

Description

@SebastianAviles

When I ejecute a request, throw a error.

Uncaught TypeError: Cannot read properties of undefined (reading 'split')

This is the resquest

const response = await scraperapiClient.get("https://articulo.mercadolibre.com.pe/MPE-606091326-zapatillas-adidas-ninos-unisex-urbanas-advantage-ef0213-_JM?searchVariation=174030975307#polycard_client=search-nordic&searchVariation=174030975307&position=41&search_layout=grid&type=item&tracking_id=26424b5e-ad52-4bde-8064-952f097eb6fe", {
                        country_code: 'pe',
                        keep_header: true,
                        headers: {
                                      "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36",
                                      "Accept-Language": "es-ES,es;q=0.9,en;q=0.8",
                                      "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8",
                                      "Connection": "keep-alive",
                                      "Upgrade-Insecure-Requests": "1",
                                      "DNT": "1"
                                    },
                        device_type: 'desktop',
                        max_cost: 5
                    });

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