Closed yixuantt closed 1 year ago
I get an unknown Error:
RuntimeError: An unknown error occurred. Raw response data: <!DOCTYPE html><html><head><title>Error 502 (Bad Gateway)</title><style type="text/css">/** * Name: error.css * Generated: 1564439105438636 */ *{margin:0;padding:0}html{font:15px/22px "Helvetica Neue",Arial,sans-serif;background:#fff;color:#222;padding:15px}body{margin:10% auto 0;max-width:300px;min-height:200px;padding:30px 0 15px}p{margin:13px 0 25px;overflow:hidden}u{color:#777;text-decoration:none}a{color:#155fad;text-decoration:none}a img{border:0}#logo{background:url(//qsf.fs.quoracdn.net/-3-images.logo.wordmark_default.svg-26-bfa6b94bc0d6af2e.svg) center center / 80px 23px no-repeat;display:inline-block;height:44px;width:82px}.error{padding:0 0 10px}html.ios_error,html.android_error{background:#f4f4f4;font-size:14px;line-height:1.4em;text-align:center;color:#666}html.ios_error body,html.android_error body{padding:100px 0 0 0}html.ios_error p,html.android_error p{margin-top:25px}html.ios_error b,html.android_error b{font-size:20px;font-weight:normal}html.ios_error u,html.android_error u{font-size:20px;color:#666}html.ios_error #logo,html.android_error #logo{display:none}</style><meta charset="utf-8"><meta name="viewport" content="initial-scale=1, minimum-scale=1, width=device-width"></head><body class='mobile_app2'><a href='//www.quora.com/'><span id='logo'></span></a><p><b>502.</b> <u>Bad Gateway.</u></p><p>Quora is temporarily unavailable.</p><p>Please wait a few minutes and try again.</p><p><a style='display:none;' id='reload'>Try Again</a></p><p><a style='display:none;' id='instance'>https://www.quora.com</a></p><script type="text/javascript">!function(e,t){function n(n,r){r=r||{};var o={messageName:n,data:r};if(i&&i.sendMessage(JSON.stringify(o)),a){var s=btoa(e.unescape(encodeURIComponent(JSON.stringify([o])))),d=t.createElement("iframe");d.setAttribute("src","qb64://"+s),d.setAttribute("frameborder",0),d.setAttribute("height",0),d.setAttribute("width",0),t.documentElement.appendChild(d),d.parentNode.removeChild(d),d=null}}var i=e.QuoraAndroid,a=!i&&e.navigator.userAgent.indexOf("Quora")>=0;if(a||i){var r=t.getElementsByTagName("html")[0],o=i?"android_error":a?"ios_error":"";r.setAttribute("class",o);var s=t.getElementById("reload");s&&(s.style.display="",s.onclick=function(){n("reload")});var d=t.getElementById("instance"),c=-1!=t.cookie.indexOf("debugPanelVisit"),l=-1!=t.cookie.indexOf("mia-iphone_app_version")||-1!=t.cookie.indexOf("mia-android_app_version");d&&(c||l)&&(d.style.display="",d.onclick=function(){n("switchInstance",{instance_name:"m",host:"quora.com",scheme:"https"})}),t.title="Error",n("setBackgroundColor",{ red:244,green:244,blue:244,alpha:1}),n("PageReady")}}(window,document); </script></body></html>
Here is my main code: poe-api-wrapper-1.2.8
from poe_api_wrapper import PoeApi import json from tqdm import tqdm import os import time token = "" client = PoeApi(token) bot = "a2_100k" results = "output/gen_ins_c.json" def queryClaud(message): # Non-streamed example: for chunk in client.send_message(bot, message): pass return chunk["text"]
I also got: bot not found
I think you got rate limit. Can you try again?
Yes. I used 'time.sleep(30)' to fix it. But I just wondering what happened. The rate limit makes sense. ๐
I get an unknown Error:
Here is my main code: poe-api-wrapper-1.2.8
I also got: bot not found