tubearchivist / browser-extension

Tube Archivist Companion for your Browser
GNU General Public License v3.0
131 stars 18 forks source link

"Unexpected token '<', " <!doctype "... is not valid JSON" #21

Closed EpicLPer closed 1 year ago

EpicLPer commented 1 year ago

Heya,

when I'm trying to set up the companion I simply get the following error after entering the URL:

Unexpected token '<', "
<!doctype "... is not valid JSON

I don't even have to enter a API key for it to display that error. I'm hosting Tube Archivist on my Synology as a Docker container with the default port of 8000. If it's also important, I'm using Brave (which is Chromium based).

bbilly1 commented 1 year ago

probably not a correct address for the TA url. What did you enter?

make sure it's from your example where synology is hosting tubearchivist, e.g.

http://192.168.1.10:8000 obviously replacing the IP address with your synology server IP address.

EpicLPer commented 1 year ago

I entered the NAS hostname followed by the port, web access with the same URL works fine.

EpicLPer commented 1 year ago

Nevermind, scrap this... I've discovered I'm an idiot and did indeed forget to add something to the URL to make it work... Sorry ^^"