Skip to content

yelp_reviews() sends cutoff as a string, which causes 422 error #15

@warrenrezane

Description

@warrenrezane

I’m running into an issue when using the yelp_reviews method.

Whenever I make the request, I get this error back from the API, through the laravel.log file:
[2025-12-27 16:16:02] local.WARNING: Failed to fetch reviews for enrichment {"enrichment_id":1,"place_id":"company-abc","error":"422 Unprocessable Entity: The request was well-formed but was unable to be followed due to semantic errors.cutoff: Not a valid integer."}

That makes sense because according to the Outscraper documentation for yelp_reviews, cutoff is supposed to be an integer. But when I checked the code, the cutoff is being sent as string.
Image

Edit: By the way, here's how I use the method.
Image

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