```
import requests
import json

def get_movies_from_tastedive(movie):
    d = {"q":movie,"type":"movie","limit":"5"}
    movies = requests.get("https://tastedive.com/api/similar",params=d)
    x = movies.json()
    print(x)

```

I am running the above code trying to access TasteDive API but I keep getting this error:

```
{'error': 'Response not interpretable as json. Try printing the .text attribute'}

```

Why is this happening?