proninyaroslav / OpenComicVine

FOSS Comic Vine client for Android. comicvine.gamespot.com
GNU General Public License v3.0
39 stars 2 forks source link

401 Everywhere #1

Closed REtroGeekery closed 1 year ago

REtroGeekery commented 1 year ago

Every section of this app just gives me "Error: HTTP 401" I cannot get it to do anything. Screenshot_20230710-173758

proninyaroslav commented 1 year ago

HTTP 401 is Unauthorized. Did you enter a valid API key during initial setup?

REtroGeekery commented 1 year ago

HTTP 401 is Unauthorized. Did you enter a valid API key during initial setup?

Yes, I signed into Comic Vine and got one. I have no idea why it's doing this.

proninyaroslav commented 1 year ago

You can send me your API key so I can check it out. On Telegram (same nickname as GitHub) or e-mail (proninyaroslav at gmail com)

proninyaroslav commented 1 year ago

I checked your key and it works. Perhaps your ISP partially blocks ComicVine? Or do you have a VPN installed? Please try to run this URL in your browser (and don't forget to paste your key) and send me the result here: https://comicvine.gamespot.com/api/character/4005-1443/?api_key=PASTE YOUR API KEY HERE

REtroGeekery commented 1 year ago

I get this: "This XML file does not appear to have any style information associated with it. The document tree is shown below."

"

OK 1 0 1 1 1 Peter Parker Captain Universe Dusk Hornet Prodigy Ricochet Bombastic Bag-Man Poison Pestilence Spidey Wallcrawler Webslinger Web-Head Your Friendly Neighborhood Spider-Man Spider-Kid The Human Spider https://comicvine.gamespot.com/api/character/4005-1443/ Oct 14, 1962 https://comicvine.gamespot.com/api/character/4005-6819/ 6819 8-Ball https://comicvine.gamespot.com/8-ball/4005-6819/ https://comicvine.gamespot.com/api/character/4005-51481/ 51481" Etc. Outside of this result, the website always works fine in my browser; it's only the app that has the 401 error. I don't have a VPN installed.
proninyaroslav commented 1 year ago

Yes, it works in the browser. Try to change the key in the app settings, insert it again, it's possible that a typo was made or something like that.

REtroGeekery commented 1 year ago

I'll give it a shot. Thanks!

REtroGeekery commented 1 year ago

That must have been it. I re-entered the API and it's working now. Sorry for the trouble and thanks for the assistance. Have a nice evening!