api_dev_key for pastebin.com is invalid

Bug #1427394 reported by Benkinooby
38
This bug affects 7 people
Affects Status Importance Assigned to Milestone
pastebinit
Fix Released
Undecided
Unassigned

Bug Description

user@comp ~ $ pastebinit foo.txt
Bad API request, invalid api_dev_key

The api_dev_key is required by pastebin.com according to their website:

http://pastebin.com/api#1
Your Unique Developer API Key
Everybody using our API is required to use a valid Developer API Key. You automatically get a key when you become a member of Pastebin. Please login to your account, and return to this page to find your Developer API Key.

Changing the api_dev_key to an acceptable value in pastebin.com.conf will fix probably this issue:
http://bazaar.launchpad.net/~pastebinit-developers/pastebinit/trunk/view/head:/pastebin.d/pastebin.com.conf

All the best.

PS: I don't think that using pastebin.com with this kind of requirement (api_dev_key) should be the default of pastebinit because it will always depend on a dev to be member of pastebin.com. I will open a second bug for that issue.

Revision history for this message
ԜаӀtеr Ⅼарсһуnѕkі (wxl) wrote :

What version are we talking about here?

Changed in pastebinit:
status: New → Incomplete
Revision history for this message
Benkinooby (m-manico) wrote : Re: [Bug 1427394] Re: api_dev_key for pastebin.com is invalid

Version 1.3.1-r2 on gentoo

On 04/08/2015 11:38 PM, Walter Lapchynski wrote:
> What version are we talking about here?
>
> ** Changed in: pastebinit
> Status: New => Incomplete
>

Revision history for this message
Rolf Leggewie (r0lf) wrote :

That version is ancient. 1.4.1 has been out for ages. Please don't report bugs upstream that are really distro bugs.

Setting ticket to invalid.

Changed in pastebinit:
status: Incomplete → Invalid
Revision history for this message
Ryan Whited (dergottdergrunten) wrote :

This is not distro specific. I'm having the same issue in Arch.

pastebinit -v
pastebinit v1.4.1

pastebinit -i sample.txt
Bad API request, invalid api_dev_key

Revision history for this message
Ryan Whited (dergottdergrunten) wrote :

I'd like to add that editing /usr/share/pastebin.d/pastebin.com.conf and adding in my own API did fix the problem, but as the OP said, it probably not the best idea to use pastebin like this since you're eventually going to get your API key banned for spam or something worse (like people uploading illegal content with your api key).

Revision history for this message
Simon Quigley (tsimonq2) wrote :

This is still a valid issue for me...how would I go about adding my own API key?

Changed in pastebinit:
status: Invalid → Confirmed
Revision history for this message
Arda Ünlü (betseg) wrote :

Still an issue on my Arch.

Revision history for this message
Stéphane Graber (stgraber) wrote :

Replaced the key in bzr

Changed in pastebinit:
status: Confirmed → Fix Committed
Revision history for this message
Rolf Leggewie (r0lf) wrote :

1.5 has been released which means pastebin.com works again in the meantime Thank you for reporting.

Changed in pastebinit:
status: Fix Committed → Fix Released
Revision history for this message
Seb Bonnard (sebma) wrote :

@stgraber

In your comment [#8](https://bugs.launchpad.net/pastebinit/+bug/1427394/comments/8) What does "bzr" mean ?

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.