---
title: MusicLibrary.Error.itemAlreadyAdded
framework: musickit
role: symbol
role_heading: Case
path: musickit/musiclibrary/error/itemalreadyadded
---

# MusicLibrary.Error.itemAlreadyAdded

An error indicating that the item attempting to be added to the user’s music library is already in the library.

## Declaration

```swift
case itemAlreadyAdded
```
