Official-Husko / NN-Downloader

Easily download all of your favorite Naughty images from multiple sites.
Mozilla Public License 2.0
47 stars 8 forks source link

[BUG] Error Message #29

Closed Official-Husko closed 4 months ago

Official-Husko commented 4 months ago

Discussed in https://github.com/Official-Husko/NN-Downloader/discussions/28

Originally posted by **Sakumaid111** May 3, 2024 Hi i'm getting an Error message but can't tell why i'm getting this "An error occured while downloading from e621! Please report this. Exception: 'posts'"
Official-Husko commented 4 months ago

@Sakumaid111 Just to clarify you can't download anything currently right?

Sakumaid111 commented 4 months ago

Yes same message everytime ^^ (sorry for the late response)

Official-Husko commented 4 months ago

Yes same message everytime ^^ (sorry for the late response)

For me it works without issues. Can you share what you entered, your config, platform and the version? Just replace the actual api key with "API_KEY_HERE" or something like that.

Sakumaid111 commented 4 months ago

give me two min first time using github sorry ^^

Sakumaid111 commented 4 months ago

Error

I think that's what you wanted and sorry if i'm taking your time for nothing probably, never used something like that ^^

Official-Husko commented 4 months ago

Error

I think that's what you wanted and sorry if i'm taking your time for nothing probably, never used something like that ^^

is that your actual api key in the image or a placeholder?

Sakumaid111 commented 4 months ago

yep it is i got it in "account" > "Manage API Access" i think that's where i'm supposed to take it

and i hope it's not bad to show it to everybody o_o

Official-Husko commented 4 months ago

yep it is i got it in "account" > "Manage API Access" i think that's where i'm supposed to take it

I have edited the comment to remove the api key with the image. Avoid sending the actual api keys to other people or publicly on the internet next time please. The mistake was that you put the api key in both fields. top is username and bottom for the actual key. Additionally please revoke your current api key and generate a new one.

Just replace the actual api key with "API_KEY_HERE" or something like that.

That's why i also wrote this when asking for the config picture.

Sakumaid111 commented 4 months ago

oh okay damn my bad i legit don't know what that thing is used for

Official-Husko commented 4 months ago

oh okay damn my bad i legit don't know what that thing is used for

No problem mistakes happen and luckily we fixed it instantly. With the api key depending on the platform it can access all your data and even control your account. This can range from simple liking images to deleting the account in some cases so always keep it private and secure.

Official-Husko commented 4 months ago

here is an example on how the config should look if you did it all correctly:

            "e621": {
                  "apiUser": "YOUR_E621_USERNAME_HERE",
                  "apiKey": "YOUR_API_KEY_HERE"
            },

So in my case for example:

            "e621": {
                  "apiUser": "Official Husko",
                  "apiKey": "asidhasiudghasiudhgasasdadasdassadsad"
            },
Sakumaid111 commented 4 months ago

Yep it's working sorry for taking your time for just that simple mistake ^^

And thanks for telling me what that Api key is for and fixing my problem, have a good day... or night i don't know :3

Official-Husko commented 4 months ago

Yep it's working sorry for taking your time for just that simple mistake ^^

And thanks for telling me what that Api key is for and fixing my problem, have a good day... or night i don't know :3

No problem always happy to help. And a good day or night to you too! In my case night at 3 am in the morning ..

gif