Closed DevMarkosM closed 1 year ago
I've just tested, and it works well. Double check your tokens.
idk what is wrong with me :/ but my tokens should work
Well, when do you get the error? Does the bot (DaVinci) connect? Do /hello command work? I need more info to help...
i get this error when i try to generate image Request has failed; please try later and in the console with print -> response.status_code, when i print -> response.txt , i get nil value no exist , yes the /hello working fine , config picture : https://i.imgur.com/hGA45o3.png
"Nil value"? Can I see the output of response.text?
yes sure ^^ https://i.imgur.com/e5B78iO.png
It's response.text
not txt...
oh okay sry its because in your code its written .txt now i get this : https://i.imgur.com/nP5X9SD.png ^^
401 means that The Authorization header was missing or invalid.
which means that there is a problem with the token. If it used to work before, you would want to check if your account token has changed.
hmm okay thank you i will check :)
i have tried to change my tokens but nothing :/ idk
okay I see. I don't know why for now... Just to be sure, how do you get your "Salai" token?
Oh i think i see , Salai token its the discord account token and not the midjourney api ? Because i have see in your code you login with this token bruh my bad x) , i have put api instead the token … sry for distrub you and thank you
I said it in the readme but maybe it's not clear enough you're the second person to make this mistake, I will maybe give better precision in the readme. You're welcome.
@soniked I noticed a while ago that on linux it does this, try updating Pycord (take a look at this by the way), if the problem persists it is not a big issue for now since it has no repercussion of the functionning of the program.
Yes it is forbidden. But as long as you don't spam servers and messages it should be fine I think. Till now, no case of account blocking was reported.
Hi i think its need update again , i have same issue error 401 after update ^^ thank you :)