Skip to content

perchance.errors.AuthenticationError: Failed to retrieve user key #7

Description

@HazaiRoblox

Traceback (most recent call last):
File "D:\Project\r.py", line 14, in
asyncio.run(main())
~~~~~~~~~~~^^^^^^^^
File "D:\Python\Lib\asyncio\runners.py", line 195, in run
return runner.run(main)
~~~~~~~~~~^^^^^^
File "D:\Python\Lib\asyncio\runners.py", line 118, in run
return self._loop.run_until_complete(task)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
File "D:\Python\Lib\asyncio\base_events.py", line 725, in run_until_complete
return future.result()
~~~~~~~~~~~~~^^
File "D:\Project\r.py", line 9, in main
result = await gen.image(prompt, shape='landscape')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Python\Lib\site-packages\perchance\imagegenerator.py", line 179, in image
raise errors.AuthenticationError("Failed to retrieve user key")
perchance.errors.AuthenticationError: Failed to retrieve user key

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions