Open pedro-vicente opened 3 years ago
Having same issue.
Same problem here, even replacing the ',' with a url-encoded %2C doesn't help.
error | code | "validation_error" message | "Request failed with validation error" context | keywords | 0 | "This value is not valid."
the HTTP GET Request Parameter for "keywords" does not accept a "," or a "-" (separator or exclusion)
this returns a JSON error
GET /v1/news?access_key=1234&countries=us,au&languages=en&sources=business,-sports&sources=cnn,-bbc&date=2020-8-24,2020-12-31&limit=1&keywords=virus,-boston HTTP/1.0
but this is OK (space between keyword escaped with %20)
GET /v1/news?access_key=1234&countries=us,au&languages=en&sources=cnn,-bbc&keywords=virus%20boston&limit=1 HTTP/1.0