midjourney-python-api icon indicating copy to clipboard operation
midjourney-python-api copied to clipboard

this is not working, I am getting this

Open tarun-gloqal opened this issue 2 years ago • 0 comments

{'message': 'You are not authorized to perform this action on this application', 'code': 20012}
Exception ignored in thread started by: <bound method GatewayServer._response_loop of <discum.gateway.gateway.GatewayServer object at 0x102945b90>>
Traceback (most recent call last):
  File "/Users/tarun/Desktop/gloqal/midjourney/midjourney-python-api/.venv/lib/python3.10/site-packages/discum/gateway/gateway.py", line 299, in _response_loop
    func(resp)
  File "/Users/tarun/Desktop/gloqal/midjourney/midjourney-python-api/midjounery.py", line 198, in process_message
    self.info()
  File "/Users/tarun/Desktop/gloqal/midjourney/midjourney-python-api/midjounery.py", line 152, in info
    self.execute_slash_cmd(cmd_name, inputs=inputs)
  File "/Users/tarun/Desktop/gloqal/midjourney/midjourney-python-api/midjounery.py", line 133, in execute_slash_cmd
    slash_cmd = self.get_slash_cmd(cmd_name)
  File "/Users/tarun/Desktop/gloqal/midjourney/midjourney-python-api/midjounery.py", line 125, in get_slash_cmd
    self.set_slash_cmds()
  File "/Users/tarun/Desktop/gloqal/midjourney/midjourney-python-api/midjounery.py", line 119, in set_slash_cmds
    self.slash_cmds = {
  File "/Users/tarun/Desktop/gloqal/midjourney/midjourney-python-api/midjounery.py", line 120, in <dictcomp>
    c["name"]: c for c in self.bot.getSlashCommands(self.application_id).json()
TypeError: string indices must be integers

tarun-gloqal avatar Oct 26 '23 10:10 tarun-gloqal