Why Don't services ever return 404s?

  • 1
  • Question
  • Updated 4 years ago
Why not return an actual 404 for locations that aren't found? I'm specifically looking at Tides, but it appears to be the case for other things to (I see a similar question around precip returning -9999).

As they stated, obviously this value indicates a bad result, but why not have a more semantic "Not Found" than forcing devs to parse through the body to determine if values are outside of an arbitrary threshold?
Photo of shortstuffsushi


  • 5 Posts
  • 0 Reply Likes
  • surprised

Posted 4 years ago

  • 1

Be the first to post a reply!