Skip to main content
2 of 2
formatting and making it more clear
Edoardo
  • 236
  • 1
  • 7

You should match the description of the error with the code that you are giving:

  • if you say Service not available in your area. then you should give a 404 because you claim that the service is not available.

  • if you say You are not authorized for this service in your area. then you should give a 403 because you claim that the caller is not authorized.

I'd go for the second.

Edoardo
  • 236
  • 1
  • 7