toptal/haste-server

"Error adding document" when trying to add a document as normal

teddyrasmussen opened this issue · 7 comments

The error handler for a chatbot that I made posts the full traceback to hastebin.com using python requests:

import requests

r = requests.post("https://hastebin.com/documents", data="foo bar")

This has been working well for me until lately, when I kept getting {"message": "Error adding document"} as the response. I've noticed that hastebin.com has been having high ping times lately, so maybe this could be an issue with lag on the server, but I don't know anything about JS so I have no idea if that is the case or if this could be caused by something else.

Anyways, any help with this would be appreciated.

Thanks!

btn0s commented

Also having this issue... can't use Hastebin online.

The same issue!

This issue is stale because it has been open for 30 days with no activity.

Can't reproduce this error

Just tried:

import requests

url = 'https://hastebin.com/documents'
response = requests.post(url, data = 'foo bar')
print(response.text)

And got:

$ python test.py
{"key":"bawoqaceri"}

I've been getting this error while using my own self hosted haste-server and when I try to create a document from the website. I get this error in my dev tools
image

This issue is stale because it has been open for 30 days with no activity.

This issue was closed because it has been inactive for 14 days since being marked as stale.