mediastack icon indicating copy to clipboard operation
mediastack copied to clipboard

Search Keywords throwing Error 500 with INVALID_VALUE_FORMAT

Open NecoHorne opened this issue 5 years ago • 0 comments

Running the API with multiple keywords throws an error 500 even with the test/demo call from the documentation IE: http://api.mediastack.com/v1/news?access_key=<API_KEY>&keywords=virus,-corona

Yes API key hidden in the above example.

Response from the API:

{
  "error": {
    "code": "validation_error",
    "message": "Validation error",
    "context": {
      "keywords": [
        "INVALID_VALUE_FORMAT"
      ]
    }
  }
}

NecoHorne avatar Dec 01 '20 15:12 NecoHorne