documentation/docs/youtube-errors-explained.md

3.6 KiB

All the YouTube error messages explained with solutions

DISCLAIMER: If you are just an user of a public instance. This documentation is not for you. Please instead redirect your Invidious instance maintainer to this page or switch to another public instance: https://instances.invidious.io

Error: non 200 status code. Youtube API returned status code 429

Error explained

YouTube is limiting the traffic that you can sent to their servers. This error may appear for a duration of 24 hours.

Cause(s)

Usually it is related to a lot of traffic being generated for refreshing your subscriptions.

  • You have modified the parameter channel_refresh_interval and thus you are forcing the refresh of your subscriptions too quickly for YouTube.
  • You are subscribed to a lot of channels. YouTube may classify this as abuse due to Invidious having to check for new videos on a lot of channels.
  • You have sent a lot of traffic in another manner. Like by using the Invidious API.
  • Someone on your network is sending a lot of traffic to YouTube.

Solution(s)

  • Try to keep the channel_refresh_interval parameter commented to let Invidious refreshing your subscriptions less frequently.
  • Unsubscribe from some channels. While this may not be ideal, this will definitively send less data to YouTube.
  • Configure pubsub: /installation/#post-install-configuration. This requires your Invidious to be available on the internet and through a public domain.
    After this you can try to extend the refresh interval, like to channel_refresh_interval: 240m.
    You will still get almost instantaneous notifications from new YouTube videos thanks to pubsub but you will induce less refreshing traffic to YouTube servers. As pubsub is method for YouTube to notify your Invidious instance for new videos.
  • Change your public IP address. This may not solve the issue permanently but temporarily solve it.

Sign in to confirm you are not a bot - This helps protect our community

Error explained

YouTube is blocking the communication of Invidious to their servers.

Cause(s)

  • YouTube is running different mechanisms to detect the usage of non official YouTube clients. Your Invidious instance may have been detected by their system.
  • Your IP address is blacklisted from YouTube servers. It is known that YouTube block datacenter IP addresses.

Solution(s)

First make sure that you are running the latest version of Invidious and you are using Invidious companion. Please see the updated installation guide.

After which you can try these solutions:

All of these options do not guarantee you to bring back Invidious to working conditions. These are just advices for trying to unblock your Invidious instance from YouTube. Make sure to always specify any modification being done to your Invidious when reporting issues.