# \[fixed\] Anyone else getting a "502 bad gateway" when creating a relationship?

**URL:** <https://community.metabrainz.org/t/fixed-anyone-else-getting-a-502-bad-gateway-when-creating-a-relationship/206715>\
**Category:** MusicBrainz\
**Tags:** error, musicbrainz-server, relationships\
**Created:** [February 6, 2017, 4:14am UTC](https://community.metabrainz.org/t/fixed-anyone-else-getting-a-502-bad-gateway-when-creating-a-relationship/206715 "2017-02-06T04:14:56Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chtfn](https://community.metabrainz.org/letter_avatar_proxy/v4/letter/c/c67d28/32.png) [@Chtfn](https://community.metabrainz.org/u/Chtfn)\
**Post date:** [February 6, 2017, 4:14am UTC](https://community.metabrainz.org/t/fixed-anyone-else-getting-a-502-bad-gateway-when-creating-a-relationship/206715/1 "2017-02-06T04:14:56Z")

</div>

Hi all

Since two days ago, I haven’t been able to create a series relationship for a couple of release because a “server is being naughty”.

 ![](https://community.metabrainz.org/uploads/default/original/2X/f/ff01c3de9ec9c2dab4faf80b26f347f3f5fe838a.png)

I had no trouble creating the releases and an artist though.

Anyone else having this issue?

**Edit** : an example is linking [this release](https://musicbrainz.org/release/93c9ece8-f817-46ef-8d66-2d6d0cb9914d) to [this series](https://musicbrainz.org/series/df84a498-843a-4c5f-97a0-a107fa03109e/edit).

---

<div class="post-metadata">

**Author:** ![chirlu](https://community.metabrainz.org/user_avatar/community.metabrainz.org/chirlu/32/45_2.png) [@chirlu](https://community.metabrainz.org/u/chirlu)\
**Post date:** [February 6, 2017, 6:32am UTC](https://community.metabrainz.org/t/fixed-anyone-else-getting-a-502-bad-gateway-when-creating-a-relationship/206715/2 "2017-02-06T06:32:32Z")

</div>

Which release, which series?

---

<div class="post-metadata">

**Author:** ![chirlu](https://community.metabrainz.org/user_avatar/community.metabrainz.org/chirlu/32/45_2.png) [@chirlu](https://community.metabrainz.org/u/chirlu)\
**Post date:** [February 6, 2017, 6:42am UTC](https://community.metabrainz.org/t/fixed-anyone-else-getting-a-502-bad-gateway-when-creating-a-relationship/206715/3 "2017-02-06T06:42:45Z")

</div>

If the series is [Netlabel Day 2015 - MusicBrainz](https://musicbrainz.org/series/df84a498-843a-4c5f-97a0-a107fa03109e) (I searched for the name visible in the screenshot; but really, please link to things next time), it’s never going to work – that is a release group series, to which you can add release groups, but not individual releases.

(Aside: The “subseries” relationship is going in the wrong direction.)

---

<div class="post-metadata">

**Author:** ![Freso](https://community.metabrainz.org/user_avatar/community.metabrainz.org/freso/32/25_2.png) [@Freso](https://community.metabrainz.org/u/Freso)\
**Post date:** [February 6, 2017, 9:09am UTC](https://community.metabrainz.org/t/fixed-anyone-else-getting-a-502-bad-gateway-when-creating-a-relationship/206715/4 "2017-02-06T09:09:12Z")

</div>

Seems like @chirlu solved why you’re getting an error, but the “server is being naughty” error is probably not the most helpful error to describe what’s going on. 🙂

I was going to report this to our ticket tracker, but it seems like others already beat me to it:  
[https://tickets.metabrainz.org/browse/MBS-8552](https://tickets.metabrainz.org/browse/MBS-8552)  
[https://tickets.metabrainz.org/browse/MBS-9125](https://tickets.metabrainz.org/browse/MBS-9125)

---

<div class="post-metadata">

**Author:** ![mfmeulenbelt](https://community.metabrainz.org/user_avatar/community.metabrainz.org/mfmeulenbelt/32/449_2.png) [@mfmeulenbelt](https://community.metabrainz.org/u/mfmeulenbelt)\
**Post date:** [February 6, 2017, 9:45am UTC](https://community.metabrainz.org/t/fixed-anyone-else-getting-a-502-bad-gateway-when-creating-a-relationship/206715/5 "2017-02-06T09:45:05Z")

</div>

I think this often happens when people add a series from the relationship editor, because that defaults to a release group series. I have made [a ticket](https://tickets.metabrainz.org/browse/MBS-9234) for that.

---

<div class="post-metadata">

**Author:** ![Kid\_Devine](https://community.metabrainz.org/user_avatar/community.metabrainz.org/kid_devine/32/17561_2.png) [@Kid\_Devine](https://community.metabrainz.org/u/Kid_Devine)\
**Post date:** [February 6, 2017, 11:42am UTC](https://community.metabrainz.org/t/fixed-anyone-else-getting-a-502-bad-gateway-when-creating-a-relationship/206715/6 "2017-02-06T11:42:08Z")

</div>

There’s also [MBS-8558 - The entity type should be preselected when following a “Create series” link](https://tickets.metabrainz.org/browse/MBS-8558).

---

<div class="post-metadata">

**Author:** ![Chtfn](https://community.metabrainz.org/letter_avatar_proxy/v4/letter/c/c67d28/32.png) [@Chtfn](https://community.metabrainz.org/u/Chtfn)\
**Post date:** [February 6, 2017, 12:30pm UTC](https://community.metabrainz.org/t/fixed-anyone-else-getting-a-502-bad-gateway-when-creating-a-relationship/206715/7 "2017-02-06T12:30:46Z")

</div>

Thanks everyone for your replies. That was the problem indeed. I changed the series type form release group to release (and the subseries relationship direction too). After that, the edit worked fine.

It is true that the error message is not informative; it is actually misleading as it makes the user think the error does not come from their side.

Hopefully the linked tickets will be looked into some time soon.

Thanks again for your help! 🙂

---

<div class="post-metadata">

**Author:** ![Chtfn](https://community.metabrainz.org/letter_avatar_proxy/v4/letter/c/c67d28/32.png) [@Chtfn](https://community.metabrainz.org/u/Chtfn)\
**Post date:** [February 6, 2017, 12:31pm UTC](https://community.metabrainz.org/t/fixed-anyone-else-getting-a-502-bad-gateway-when-creating-a-relationship/206715/8 "2017-02-06T12:31:50Z")

</div>

You’re absolutely right about linking to examples, I edited my post accordiingly.
