com.google.android.exoplayer.upstream.HttpDataSource$InvalidResponseCodeException

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

If you're using ExoPlayer with Akamai, try switching to OkHttpDataSource (an ExoPlayer extension that supports OkHttp3)

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • cookies issue in android
    via GitHub by SagarRaiyani
    ,
  • GitHub comment 433#296278927
    via GitHub by jboisjo
    ,
  • GitHub comment 433#296764310
    via GitHub by jboisjo
    ,
  • GitHub comment 433#296771571
    via GitHub by jboisjo
    ,
  • PlayReady Token Authentication
    via GitHub by juanpef
    ,
  • Internal track renderer error.
    via GitHub by hex81
    ,
    • com.google.android.exoplayer.upstream.HttpDataSource$InvalidResponseCodeException: Response code: 403 at com.google.android.exoplayer.upstream.DefaultHttpDataSource.open(DefaultHttpDataSource.java:210) at com.google.android.exoplayer.upstream.DefaultUriDataSource.open(DefaultUriDataSource.java:135) at com.google.android.exoplayer.upstream.DataSourceInputStream.checkOpened(DataSourceInputStream.java:97) at com.google.android.exoplayer.upstream.DataSourceInputStream.open(DataSourceInputStream.java:56) at com.google.android.exoplayer.upstream.UriLoadable.load(UriLoadable.java:92) at com.google.android.exoplayer.upstream.Loader$LoadTask.run(Loader.java:209) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422) at java.util.concurrent.FutureTask.run(FutureTask.java:237) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) at java.lang.Thread.run(Thread.java:818)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Agócs TamásAgócs Tamás
    15 times, last one,
    ajinkya_wajinkya_w
    20 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    martynmartyn
    8 times, last one,