[GH-ISSUE #21] "Unexpected token '<', " <!doctype "... is not valid JSON" #13

Closed
opened 2026-03-23 20:31:36 +00:00 by mirror · 5 comments
Owner

Originally created by @EpicLPer on GitHub (Aug 14, 2023).
Original GitHub issue: https://github.com/tubearchivist/browser-extension/issues/21

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).

Originally created by @EpicLPer on GitHub (Aug 14, 2023). Original GitHub issue: https://github.com/tubearchivist/browser-extension/issues/21 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).
mirror 2026-03-23 20:31:36 +00:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@bbilly1 commented on GitHub (Aug 14, 2023):

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.

<!-- gh-comment-id:1677818179 --> @bbilly1 commented on GitHub (Aug 14, 2023): 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.
Author
Owner

@EpicLPer commented on GitHub (Aug 14, 2023):

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

<!-- gh-comment-id:1677902433 --> @EpicLPer commented on GitHub (Aug 14, 2023): I entered the NAS hostname followed by the port, web access with the same URL works fine.
Author
Owner

@EpicLPer commented on GitHub (Aug 14, 2023):

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 ^^"

<!-- gh-comment-id:1678042609 --> @EpicLPer commented on GitHub (Aug 14, 2023): 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 ^^"
Author
Owner

@Kozi801 commented on GitHub (Mar 14, 2025):

I have the same issue. Everything used to work and now suddenly I have this error in the companion. my address has not changed.

<!-- gh-comment-id:2723168109 --> @Kozi801 commented on GitHub (Mar 14, 2025): I have the same issue. Everything used to work and now suddenly I have this error in the companion. my address has not changed.
Author
Owner

@bbilly1 commented on GitHub (Mar 14, 2025):

Also see here: https://github.com/tubearchivist/browser-extension/issues/52

<!-- gh-comment-id:2723860320 --> @bbilly1 commented on GitHub (Mar 14, 2025): Also see here: https://github.com/tubearchivist/browser-extension/issues/52
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
tubearchivist/archived-browser-extension#13
No description provided.