Lacking error handling with imgur API

Description

When trying to login to imgur and authorize greenshot to upload images, the api responds with the following message:

Greenshot doesn't handle this and instead you get a download of the ieframe.dll

Environment

None

Attachments

3

duplicates

Gliffy Diagrams

Activity

Show:

Robin Krom July 31, 2017 at 6:38 AM

This duplicates BUG-2235, to reduce the amount of work & communication I will close this. All information on the fix will be visible in BUG-2235. So you might want to monitor that.

Pierre Christoffersen July 27, 2017 at 12:32 PM

If you mean the imgur url, https://imgur.com/signin/twitter, it's because my imgur account is signed in through twitter.

Try clearing all your cookies and history and the error "over capacity" will go away. Or run in incognito mode or similar.

Robin Krom July 27, 2017 at 12:29 PM

I don't understand what that comment with the twitter URL has to do with the issue.
We work differently... and it worked for 6 months.

Robin Krom July 27, 2017 at 12:26 PM
Edited

Thanks for trying, so the problem is not the browser. (keep the settings, it solves issues with other cloud services if used from Greenshot)

We don't need a local server, as we process the redirect inside the IE Browser we control.

I am a bit confused why this stopped working now, the latest Greenshot version was made in Januari 2017.

The URL should be like this:

But if I call this (with the correct client id), there is the error which is specified in the description of this ticket (over capacity).
I have seen one call, which did work... maybe they really do have an issue.

If "code" is obsolete, this doesn't mean it doesn't work... It's not removed yet... well, I didn't find anything on it yet.

The URL should not be

As the information somehow is not filled...

Pierre Christoffersen July 27, 2017 at 12:03 PM

Yep, that is due to another URL I found when you manage to log in and Greenshot is supposed to get the oauth tokens:

There are a few errors here:

  • the request to api.imgur.com is over http

  • both the redirect_uri have "https:/imgur.com" as value, missing a forward slash

Duplicate

Details

Assignee

Reporter

Affects versions

Components

Priority

Created July 22, 2017 at 5:12 PM
Updated July 31, 2017 at 6:38 AM
Resolved July 31, 2017 at 6:38 AM