Invalid api_user_key error when starting IntelliJ
jcassee opened this issue · comments
Every time I start IntelliJ, I see this error in the logs:
Ultimate PasteBin
Error while fetching data from PasteBin
Error: Bad API request, invalid api_user_key
When I go to the Ultimate PasteBin settings page and click Check Account Credentials, they turn out to be valid. The Ultimate PasteBin tool window is empty, but when I click the refresh button my pastes are loaded.
Maybe the plugin tries to connect to PasteBin before the credentials are available? Anything else I can do to help debug the problem?
I am using IntelliJ Ultimate Edition 2017.1.1 on Ubuntu 16.04.
I have the same issue, however, when I press the refresh button, my pastes aren't fetched and the same error is shown again.
Clicking on trending pastes and then refreshing seems to do the trick. Trending pastes as well as personal pastes are then properly shown.
Same issue here, but if a click refresh 2 or 3 times, the API token became valid ! Maybe issue is related to timeout settings or Pastebin API itself.
It could be nice to stop testing credential when IntelliJ was run. But only when we the plugin try to fetch or send new "paste".
I have not had this issue since upgrading to IntelliJ 2017.2. @kennedyoliveira Close it?
Hey @jcassee , thanks for the report and apologies for the long time delay for answering.
I noticed some problems with 2016 version of intellij, but had no time to investigate, i'll let it open while i do some searching on new version to make sure it's working fine.
@Thibstars, the trending pastes are a different endpoint in the API and don't need auth, maybe thats why you can fetch the trending but not your own, based on this i imagine is something with the pastebin, since the tests are failing randomly due to the service getting unavailable. Anyway, i'll check to see if there's something wrong.
Should be fixed by the last version 1.5.2.