def METHOD_NAME(client, sample_service):
    auth_header = create_authorization_header(service_id=sample_service.id)
    response = client.get(
        path="/v2/received-text-messages?user_number=447700900000",
        headers=[("Content-Type", "application/json"), auth_header],
    )
    assert response.status_code == 400
    assert response.headers["Content-type"] == "application/json"
    json_response = json.loads(response.get_data(as_text=True))
    assert json_response["status_code"] == 400
    assert json_response["errors"][0]["error"] == "ValidationError"
    assert json_response["errors"][0]["message"] == "Additional properties are not allowed (user_number was unexpected)"