Getting "Unsupported Authorization Type" error for specific gifs

385 views
Skip to first unread message

robert.a...@gmail.com

unread,
Sep 17, 2015, 3:56:30 AM9/17/15
to Imgur
Hello, I'm learning Chrome App development so I began a small project which loads images and videos from Imgur.

When I get a response from the API, if the data.is_animated boolean is true, I load the content as a video with data.webm as the source. In 95% of the cases, this works fine, but, every once in a while, I get an Authorization error like this:

<Error>
<Code>InvalidArgument</Code>
<Message>Unsupported Authorization Type</Message>
<ArgumentName>Authorization</ArgumentName>
<ArgumentValue>Client-ID my_client_id</ArgumentValue>
<RequestId>1B34CDA53BF7032C</RequestId>
<HostId>
7GqEGiKkiL5dw+lGyEmzB6XXQlJbkI6ZsJ4L8g2nBUs6OXX6bGFDLuom1/goU1W6GU7iEgQfHcU=
</HostId>
</Error>

If I reload my application, I still get the error for the same specific gifs. I don't understand why I'm getting this error because all my calls to the API use the same script -- the same authorization.

Reply all
Reply to author
Forward
0 new messages