Http GET returning 204 is perfectly fine, and so is returning 404.
The important thing is that you define the design standards/guidelines for your API, so that all your endpoints use status codes consistently.
For example:
GET /complaints/year/2019/month/04
may return 204 if there are no complaints filed in April 2019. This is not an error on the client side, so we return a success status code (204). OTOH, GET /complaints/12345
may return 404 if complaint number 12345 doesn't exist.