Fixed: return JsonResponse({"error": "Can't find item by location"}, 404)