Showing alert when there's an error posting to /links.
Returning early from server if the initial query didn't have a match.