<p>Trying another extract probably won't help much - the problem is that extracts typically include all nodes and ways in the given area, plus any relations that include one of those nodes or ways. What they don't include is any other nodes and ways which are in the relation but are outside the area of the extract.</p>

<p>Hence when you load the data into the API database it will not have referential integrity because you will have relations that refer to nodes or ways that do not exist.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href='https://github.com/openstreetmap/openstreetmap-website/issues/654#issuecomment-30302074'>view it on GitHub</a>.<img src='https://github.com/notifications/beacon/uTRSc6ihLa7Shf84BpiOplFRVyIJjib7uaJbz5dqYs_Dlu1wDdDzGrfbKtDNLOtJ.gif' height='1' width='1'></p>