flameshot icon indicating copy to clipboard operation
flameshot copied to clipboard

Error transferring https://api.imgur.com/3/image?title=&description=2022-04-22_08-05 - server replied: Permission Denied

Open JaLe29 opened this issue 2 years ago • 9 comments

Flameshot Version

Flameshot v11.0.0 (ad1bf28) Compiled with Qt 5.15.2 winnt: 10.0.22000 windows: 10 - (I have w11, I dont know why there is w10)

(from About program section)

Installation Type

Linux, MacOS, or Windows Package manager (apt, pacman, eopkg, choco, brew, ...)

Operating System type and version

Windows 11 (64b)

Description

It is not possible to upload image.

Looks like an server error:

Error transferring https://api.imgur.com/3/image?title=&description=2022-04-22_08-05 - server replied: Permission Denied

Steps to reproduce

Try to upload anything using upload button

Screenshots or screen recordings

image

System Information

JaLe29 avatar Apr 22 '22 06:04 JaLe29

Confirmed using:

Flameshot v11.0.0 (03af9d80) Compiled with Qt 5.15.3 linux: 5.15.32-1-MANJARO

using the default key: https://github.com/flameshot-org/flameshot/blob/03af9d807cc85b94cb29644966cd9fa8d845281f/src/utils/confighandler.cpp#L126

mmahmoudian avatar Apr 22 '22 10:04 mmahmoudian

@mmahmoudian can this be closed since we allow custom keys now?

borgmanJeremy avatar May 01 '22 14:05 borgmanJeremy

@borgmanJeremy the reason I kept it open was to discuss it with you the following:

Does it make sense to add a bit more content and context to this error? Because "permission denied" is not useful. Perhaps we can have a part that detects if the error is "permission denied", it adds a sentence or two and suggest the user to use their own account.

mmahmoudian avatar May 01 '22 14:05 mmahmoudian

hmmm, I'm not opposed to it but I'd like to understand the different error messages that can be returned by the API. I was not able to find this documented here: https://apidocs.imgur.com/#authorization-and-oauth

borgmanJeremy avatar May 01 '22 14:05 borgmanJeremy

Same here. Uploading screenshots by pressing the dedicated button on UI. macOS 12.5.1 (spotted on 12.5 as well)

Flameshot: v12.1.0 (96c2c82e) Compiled with Qt 5.15.5 darwin: 21.6.0 osx: 12.5

The bug occurs randomly. Usually quitting and opening the app helps, but not always.

driversti avatar Aug 26 '22 09:08 driversti

image same here server replied : no error preceding the server replied

Usama-Irfan avatar Sep 15 '22 08:09 Usama-Irfan

@Usama-Irfan Thank you for posting, but your comment does not add to the conversation and bring nothing more on the table, therefore I made it hidden (an this comment of mine) to keep the thread tidy :)

mmahmoudian avatar Sep 15 '22 14:09 mmahmoudian

I have same problem any decision? "Error transferring https://api.imgur.com/3/image?title=&description=2024-01-23_19-26 - server replied: Bad Request"

androidformax avatar Jan 23 '24 17:01 androidformax

Don't you want to add more cloud storage to the app? Or at least add the ability to change the Imgur API key.

I have a random error. Now it is 'server replied: Unknown error'. This may occur, for example, if my external IP address (as I am using a VPN) is blocked.

positron48 avatar Mar 22 '24 07:03 positron48