# discogs fails for album with dash

**URL:** <https://community.mp3tag.de/t/discogs-fails-for-album-with-dash/17847>\
**Category:** Web Sources Discussion\
**Created:** [April 14, 2016, 8:52pm UTC](https://community.mp3tag.de/t/discogs-fails-for-album-with-dash/17847 "2016-04-14T20:52:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![GaryG45](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/g/77aa72/32.png) [@GaryG45](https://community.mp3tag.de/u/GaryG45)\
**Post date:** [April 14, 2016, 8:52pm UTC](https://community.mp3tag.de/t/discogs-fails-for-album-with-dash/17847/1 "2016-04-14T20:52:06Z")

</div>

Hi,  
When I have an album with a dash in the name, Tag Source discogs gets the 401 Unauthorized error. An example of an album is: On A Clear Day You Can See Forever - Original Broadway Cast Recording.  
If I change the album tag to be: On A Clear Day You Can See Forever, discogs runs fine. Is this an error or did I miss something in the documentation?

Gary

---

<div class="post-metadata">

**Author:** ![ms6676749](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/b4bc9f/32.png) [@ms6676749](https://community.mp3tag.de/u/ms6676749)\
**Post date:** [April 15, 2016, 5:15pm UTC](https://community.mp3tag.de/t/discogs-fails-for-album-with-dash/17847/2 "2016-04-15T17:15:43Z")

</div>

Discog's api search, used for many of the discogs websource scripts, seems to have trouble with non-alphanumeric characters. Queries containing them tend to get 401'd. One has to use regex or replace script functions to remove them from artist or album fields used in the query.

---

<div class="post-metadata">

**Author:** ![GaryG45](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/g/77aa72/32.png) [@GaryG45](https://community.mp3tag.de/u/GaryG45)\
**Post date:** [April 22, 2016, 1:13pm UTC](https://community.mp3tag.de/t/discogs-fails-for-album-with-dash/17847/3 "2016-04-22T13:13:44Z")

</div>

Sorry I'm so late to respond. I thought I'd have to potentially use replace. Thanks for the quick reply.

Gary
