# Spotify streaming error: \<ErrorType.NO\_STREAM\_AVAILABLE: 18\>

**URL:** <https://discourse.mopidy.com/t/spotify-streaming-error-errortype-no-stream-available-18/3714>\
**Category:** Help and support\
**Created:** [January 15, 2020, 2:46pm UTC](https://discourse.mopidy.com/t/spotify-streaming-error-errortype-no-stream-available-18/3714 "2020-01-15T14:46:14Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![mflage](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/mflage/32/1327_2.png) [@mflage](https://discourse.mopidy.com/u/mflage)\
**Post date:** [January 15, 2020, 2:46pm UTC](https://discourse.mopidy.com/t/spotify-streaming-error-errortype-no-stream-available-18/3714/1 "2020-01-15T14:46:14Z")

</div>

I have an issue with playback randomly stopping. The log outputted the following at the same time:

`2020-01-15 10:37:45,457 ERROR [3255:SpotifyEventLoop] spotify.session: Spotify streaming error: <ErrorType.NO_STREAM_AVAILABLE: 18>`

If there’s an issue with Spotify, then that’s ok, but it shouldn’t stop the playback entirely. Instead it should attempt to play back the next entry of the playlist. There also seems like Mopidy attempts to play from Spotify even though the local file is in place. Is this correct behaviour or is there a way to make Mopidy prioritize the local files first?

---

_[View the full topic](https://discourse.mopidy.com/t/spotify-streaming-error-errortype-no-stream-available-18/3714)._
