# Search via XML Web Service / Version 1 stopped working

**URL:** https://community.metabrainz.org/t/search-via-xml-web-service-version-1-stopped-working/354737
**Category:** Development
**Tags:** webservice, musicbrainz
**Created:** [January 26, 2018, 7:21am UTC](https://community.metabrainz.org/t/search-via-xml-web-service-version-1-stopped-working/354737 "2018-01-26T07:21:13Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![fhe](https://community.metabrainz.org/user_avatar/community.metabrainz.org/fhe/32/12245_2.png) [@fhe](https://community.metabrainz.org/u/fhe)
#### Post date: [January 26, 2018, 7:21am UTC](https://community.metabrainz.org/t/search-via-xml-web-service-version-1-stopped-working/354737/1 "2018-01-26T07:21:13Z")

</div>

Hi there,

I’ve noticed that searching via the deprecated Version 1 of the XML Web Service stopped working some days ago. Just wanted to know if it’s gone for good, or something that is an unintended side-effect of the [recent server updates](https://blog.musicbrainz.org/2018/01/24/server-update-2018-01-24/)?

You can check via the example given in the [documentation](https://musicbrainz.org/doc/Development/XML_Web_Service/Version_1):

[http://musicbrainz.org/ws/1/artist/?type=xml&name=Tori+Amos](http://musicbrainz.org/ws/1/artist/?type=xml&name=Tori+Amos)

Thanks!  
— Florian

---

<div class="post-metadata">

### Author: ![dns\_server](https://community.metabrainz.org/user_avatar/community.metabrainz.org/dns_server/32/175_2.png) [@dns\_server](https://community.metabrainz.org/u/dns_server)
#### Post date: [January 26, 2018, 8:40pm UTC](https://community.metabrainz.org/t/search-via-xml-web-service-version-1-stopped-working/354737/2 "2018-01-26T20:40:54Z")

</div>

Is there a good reason why you need api 1 and cannot use api 2?  
And like you suggested they are planning on changing the search server in the next few months.  
This should add more parameters that can be used when searching.

---

<div class="post-metadata">

### Author: ![fhe](https://community.metabrainz.org/user_avatar/community.metabrainz.org/fhe/32/12245_2.png) [@fhe](https://community.metabrainz.org/u/fhe)
#### Post date: [January 26, 2018, 11:32pm UTC](https://community.metabrainz.org/t/search-via-xml-web-service-version-1-stopped-working/354737/3 "2018-01-26T23:32:46Z")

</div>

The only good reason would be, that it’s used in an application that is used by many people.

I just wanted to know, whether the current situation it’s an unintended side-effect which will be fixed or something that’ll be permanent.

I’m aware that the v1 API is deprecated and plan to move to v2 soon. My question is mainly how fast this move needs to be 🙂

Thanks!  
— Florian

---

<div class="post-metadata">

### Author: ![yvanzo](https://community.metabrainz.org/user_avatar/community.metabrainz.org/yvanzo/32/2864_2.png) [@yvanzo](https://community.metabrainz.org/u/yvanzo)
#### Post date: [January 29, 2018, 4:08pm UTC](https://community.metabrainz.org/t/search-via-xml-web-service-version-1-stopped-working/354737/4 "2018-01-29T16:08:39Z")

</div>

Sorry for that, we just reverted the regression, v1 works again.  
It is not supported by the upcoming SOLR search server.  
Its potential EOL will be discussed at tonight [meeting](https://musicbrainz.org/doc/MetaBrainz_Meeting).

---

<div class="post-metadata">

### Author: ![fhe](https://community.metabrainz.org/user_avatar/community.metabrainz.org/fhe/32/12245_2.png) [@fhe](https://community.metabrainz.org/u/fhe)
#### Post date: [January 29, 2018, 4:40pm UTC](https://community.metabrainz.org/t/search-via-xml-web-service-version-1-stopped-working/354737/5 "2018-01-29T16:40:06Z")

</div>

Thanks, @yvanzo!

Not sure whether it’s already deployed, but clicking on the example link above still gives the error. Just FYI, I’ll switch to v2 soon.

Kind regards  
— Florian

---

<div class="post-metadata">

### Author: ![yvanzo](https://community.metabrainz.org/user_avatar/community.metabrainz.org/yvanzo/32/2864_2.png) [@yvanzo](https://community.metabrainz.org/u/yvanzo)
#### Post date: [January 29, 2018, 5:34pm UTC](https://community.metabrainz.org/t/search-via-xml-web-service-version-1-stopped-working/354737/6 "2018-01-29T17:34:45Z")

</div>

Sorry, I will fix that tonight.  
The fix has been correctly deployed to beta at least.  
[http://beta.musicbrainz.org/ws/1/artist/?type=xml&name=Tori+Amos](http://beta.musicbrainz.org/ws/1/artist/?type=xml&name=Tori+Amos)

---

<div class="post-metadata">

### Author: ![yvanzo](https://community.metabrainz.org/user_avatar/community.metabrainz.org/yvanzo/32/2864_2.png) [@yvanzo](https://community.metabrainz.org/u/yvanzo)
#### Post date: [January 29, 2018, 7:48pm UTC](https://community.metabrainz.org/t/search-via-xml-web-service-version-1-stopped-working/354737/7 "2018-01-29T19:48:28Z")

</div>

Fix is now correctly deployed on all main servers.

---

<div class="post-metadata">

### Author: ![fhe](https://community.metabrainz.org/user_avatar/community.metabrainz.org/fhe/32/12245_2.png) [@fhe](https://community.metabrainz.org/u/fhe)
#### Post date: [January 29, 2018, 8:01pm UTC](https://community.metabrainz.org/t/search-via-xml-web-service-version-1-stopped-working/354737/8 "2018-01-29T20:01:41Z")

</div>

Thanks @yvanzo!

I’ve just tested it and everything is back to normal now

Kind regards  
— Florian

---

<div class="post-metadata">

### Author: ![outsidecontext](https://community.metabrainz.org/user_avatar/community.metabrainz.org/outsidecontext/32/90_2.png) [@outsidecontext](https://community.metabrainz.org/u/outsidecontext)
#### Post date: [February 1, 2018, 9:59am UTC](https://community.metabrainz.org/t/search-via-xml-web-service-version-1-stopped-working/354737/9 "2018-02-01T09:59:56Z")

</div>

> [@fhe](#):
>
> I’m aware that the v1 API is deprecated and plan to move to v2 soon. My question is mainly how fast this move needs to be 🙂

Today came an answer: You have 6 months. Go go go! 😛

> **[Web Service ver 1.0 (ws/1) will be removed in 6 months! – MetaBrainz Blog](https://blog.musicbrainz.org/2018/02/01/web-service-ver-1-0-ws-1-will-be-removed-in-6-months/)**

---

<div class="post-metadata">

### Author: ![fhe](https://community.metabrainz.org/user_avatar/community.metabrainz.org/fhe/32/12245_2.png) [@fhe](https://community.metabrainz.org/u/fhe)
#### Post date: [February 1, 2018, 10:57am UTC](https://community.metabrainz.org/t/search-via-xml-web-service-version-1-stopped-working/354737/10 "2018-02-01T10:57:31Z")

</div>

> [@outsidecontext](#):
>
> Today came an answer: You have 6 months. Go go go! 😛

Thanks 😃 I’ve also attended the last IRC meeting, but it’s good to have an official statement.

I’m pretty sure, I can make it 😅
