Internal Error 500: GET insights/keywords/search

ads
error-codes

#1

There appears to be a server-side problem with the insights/keywords/search API.

The documentation example returns a 500 error:

twurl -H ads-api.twitter.com "/1/insights/keywords/search?granularity=DAY&start_time=2015-11-16T07:59:00Z&end_time=2015-11-17T07:59:00Z&keywords=funny,cool&negative_keywords=sad"

{
    "errors": [
            {
                "code": "INTERNAL_ERROR",
                "message": "Internal Error"
            }
        ],
        "request": {
            "params": {}
        }
}

Thanks for your help,
Ryan


#2

After a quick test, it also happen here!


#3

Thanks for confirming, @hector_borras! Thanks, @rdads, for reporting this. The team will take a look.


#4

We’re continuing to work toward determining the root cause here. We’ll update the thread once we know more. Thanks!


#5

@rdads, @hector_borras: Thanks for reporting this issue. It’s now been resolved.

$ twurl -H ads-api.twitter.com "/1/insights/keywords/search?granularity=DAY&start_time=2017-06-04&end_time=2017-06-05&keywords=funny,cool&negative_keywords=sad"
{
  "request": {
    "params": {
      "negative_keywords": [
        "sad"
      ],
      "start_time": "2017-06-04T00:00:00Z",
      "end_time": "2017-06-05T00:00:00Z",
      "granularity": "DAY",
      "keywords": [
        "funny",
        "cool"
      ]
    }
  },
  "data_type": "keyword_insights",
  "data": {
    "tweet_volume": [
      650952
    ]
  }
}