Getting 500 error when searching for an episode via ID Lookup

In the past couple days I have been receiving 500 errors in my application when using the Search → ID Lookup api endpoint. I have verified the error using Trakt’s API explorer.

The 500 error only occurs when the imdb id is for a specific episode. If I provide an id for a show it works fine.

Example:

This is for the X-Files show and works fine.

id_type: imdb
id: tt0106179

This is for a specific episode of the X-Files and returns a 500.

id_type: imdb
id: tt0751092

The same pattern occurs if I search using a tmdb id.

What is the exact API url you’re using?

Here is an example curl request that returns the 500 error.

curl -v 'https://api.trakt.tv/search/imdb/tt0751092' \
  -H 'Content-Type: application/json' \
  -H 'trakt-api-version: 2' \
  -H 'trakt-api-key: ...'

Thanks, this should be fixed now.