CastError uppstår vid ogiltigt ObjectId. Använd mongoose.Types.ObjectId explicit och validera indata före findById.