IMDb scope does not return any results

Bug #1174967 reported by James Henstridge on 2013-04-30
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Unity IMDb Scope
Undecided
Unassigned

Bug Description

I don't see any results from the IMDb scope. Looking at the debug messages, it seems that IMDb is refusing the requests. I tried the request that the scope is performing and see the same:

    $ curl -k -D- https://sg.media-imdb.com/suggests/d/django%20unchained.json
    HTTP/1.0 403 Forbidden
    Content-Type: application/xml
    Content-Length: 231
    Connection: keep-alive
    Date: Tue, 30 Apr 2013 22:37:04 GMT
    Server: AmazonS3
    Age: 259
    Via: 1.0 3c15da33a3621b2a4eb3ceb25025877e.cloudfront.net (CloudFront)
    X-Cache: Error from cloudfront
    X-Amz-Cf-Id: rNocYTJSoI76UwZju2SUf6wB48ArSHq5_MWKPlvixaunt88qn8vMuw==

    <?xml version="1.0" encoding="UTF-8"?>
    <Error><Code>AccessDenied</Code><Message>Access Denied</Message><RequestId>C5B534D5C3092CC4</RequestId><HostId>6ZhbwnJeKY7iI0AuqdExTZXAcsh1rBd73VcEvQj+/OyYrir6pX/e+hCjkG7fJ3ka</HostId></Error>

affects: ubuntu-scopes → unity-scope-imdb
Revision history for this message
James Henstridge (jamesh) wrote :

Through experimentation, it seems to give results for queries of 4 characters or less.

I haven't checked extensively, but perhaps they are pregenerating results for these prefixes rather than being a general search interface. If this is the case, then we should truncate the search string we send to the API and then maybe manually narrow the results.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers