fisher60 / friendo-bot

A Discord Bot that is just a good Friendo
MIT License
25 stars 23 forks source link

Wolfram Alpha API error #235

Open fisher60 opened 1 year ago

fisher60 commented 1 year ago

Summary

Some commands are failing to get a valid response from the wolfram alpha api.

The following error log is the result of using the command .wolfram hipaa

Traceback (most recent call last):
bot_1  |   File "/usr/local/lib/python3.9/site-packages/disnake/ext/commands/core.py", line 169, in wrapped
bot_1  |     ret = await coro(*args, **kwargs)
bot_1  |   File "/app/bot/cogs/wolfram.py", line 27, in wolfram
bot_1  |     assert response.status == 200, response.raise_for_status()
bot_1  |   File "/usr/local/lib/python3.9/site-packages/aiohttp/client_reqrep.py", line 1004, in raise_for_status
bot_1  |     raise ClientResponseError(
bot_1  | aiohttp.client_exceptions.ClientResponseError: 501, message='Not Implemented', url=URL('http://api.wolframalpha.com/v2/simple?i=hipaa&appid=<our_app_id>')