What http error codes to return?

Two years ago the question was Which http error codes to return?
I'm wondering, for mobile devices that something has changed or in General, what approach do you use?
Always return 200 and the response body is placed the error?
Or if not pass validation, the data in the database do not exist or other error on the server, return the response code is not 200?
June 14th 19 at 21:01
2 answers
June 14th 19 at 21:03
To return the core 200. 400. 401. 500.
Here is a good article about this:
https://habrahabr.ru/post/181988/
June 14th 19 at 21:05

Find more questions by tags APIPHPRESTful API