This is not an error. It's that the data is empty. First parameter should be used for saying that there is a problem with the request, not if it's empty.