avoonix / material-e621

Material e621 is a modern, open source web client for e621.net. It is customizable, comes with a bunch of additional features that are not available on e621.net, and makes browsing posts a delightful experience.
https://material-e621.vercel.app
GNU Affero General Public License v3.0
54 stars 6 forks source link

[Bug]: Network error when logged in account #22

Closed Ururhduy closed 9 months ago

Ururhduy commented 11 months ago

Expected Behavior

I expect when I logged in my account I would be able to see hidden images

Actual Behavior

but instead I get network error pop up

Steps to Reproduce the Problem

This happens when you log in you e621 account and APL key

avoonix commented 11 months ago

Did you double check if the username is correct (including caps) and the api key is 24 characters long?

Ururhduy commented 11 months ago

Yes and I tried but still did not work even when I do all caps

On Sat, Nov 11, 2023, 1:23 AM Avoonix @.***> wrote:

Did you double check if the username is correct (including caps) and the api key is 24 characters long?

— Reply to this email directly, view it on GitHub https://github.com/avoonix/material-e621/issues/22#issuecomment-1806761786, or unsubscribe https://github.com/notifications/unsubscribe-auth/BD4BZBD5HI3VV4FC4GRIRNTYD47ZPAVCNFSM6AAAAAA7GTJRX2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBWG43DCNZYGY . You are receiving this because you authored the thread.Message ID: @.***>

avoonix commented 11 months ago

Go to https://e621.net/users/home, select and copy your username, and paste it into Material e621. Make sure there is neither whitespace, nor the exclamation mark in the text field. image

On the same page, under "Manage API Access", copy the API key and paste it into Material e621. image

I have now added a "Verify credentials" button, which you can try. If it still doesn't work, you can press F12 to open the browser developer tools. Go to the network tab and click the "Verify credentials" button again - you should see a new request. Right click and open it in a new tab, if you see anything other than the response below, report back to me (and make sure to not expose your API key).

{
  "success": false,
  "message": "SessionLoader::AuthenticationFailure",
  "code": null
}

image image

avoonix commented 9 months ago

closing now feel free to reopen if the issue persists