ust as is with other Apple products, Apple Music shot to success following its reveal. The platform allows users to stream music, and videos as well as its exclusive Beats 1 radio station. Even with such tech giants as Apple, you should expect some glitches and slip-ups every once in a while. 

One of the commonest glitches on the Apple music platform is the iTunes error code 9039. You may encounter this error while trying to connect an Airplay device to iTunes. You may also get this error message while trying to add music to the Apple Music library. 

iTunes error code 9039 means that the connect attempt has failed. So, how can you clear the iTunes error code 9039 and continue steaming? 

What Causes iTunes Error Code 9039? 

Well, it appears that error code 9039 is an unknown problem as it is not listed as an error code with a specific cause on the Apple Website. However, it has been established that the error is not device-specific. 

At some point users of iTunes, Apple Music, and HomePad may get this error message. The error is to let you know that the attempt by your device to connect to the service has failed. 

How to Fix iTunes Error Code 9039

Just as is the case with several other Apple iTunes error codes, there are several ways you can solve the error code 9039. Basically, you need to clear temporary data on your iTunes account. You may also need to remove some of the imported music files on your Apple Music Library. 

If you would like to resolve iTunes error code 9039 on your own, here are some of the methods you should try:


Clearing Temporary Account Data 

Before trying a mode advanced solution, you should try to clear temporary files on your account. This is achieved by signing out and then into your iTunes account. On your iTunes account, navigate to Settings and then select Sign-out. 

Once you have signed out of your account, you should close the iTunes app completely for a few seconds. Start the iTunes App once again, navigate to Account, and select Sign-in. Enter your credentials to log into your iTunes account to check whether the problem has been resolved. 


Removing the adi Directory 

If the above-described method does not work, you should try removing the adi directory. To do this, you need to close the iTunes application completely. Open Finder, select Go and navigate to the “Go to Folder”. 

In the open dialog box, type Users/Shared/adi and then click the Go button. Now you need to delete the adi directory and close. In case this search does not display the shared directory, you should open “Terminal”, and run these commands: 

sudo mkdir -p / Users/Shared/
sudo chmod 1777 / Users/Shared

Now close the Terminal and try to delete the adi directory once again using the above-described steps. Once you are done, try launching iTunes to see whether the error code 9039 has cleared. 


Check the USB Cable 

A loose or problematic USB connection can also result in iTunes error code 9039 when you try to add files to your library. Make sure the cable is well connected or try using a different USB cable, and port. It is advisable to always use Apple-certified cables to pair your Apple devices. 

A damaged cable may also result in iTunes error code 1667. Using a genuine Apple USB cable is likely to solve the problem. 


Convert Problematic Files to MP3 Format 

The iTunes error code 9039 you are getting may also be as a result of problematic files you imported to your library. If this is the problem, you need to convert such files to MP3 Format. To begin with, sort your music library on Apple Music by iCloud status. 

This will make it easy for you to find the problematic files. If this does not reveal the iCloud Status column, right-click on the sorting bar and then select “Option”.  The problematic files will display Error besides the iCloud icon in the Status column. 

Converting the Files to MP3 

Select the problematic files in order to convert them to MP3 format, even if they are already in MP3. Before going further, check whether the song converter is already set to the MP3 option. If not, set it to the MP3 option before starting the conversion process. 

Now navigate to iTunes > Preferences > General Preferences and try to open the Import Settings Screen and check whether the converter is set to the MP3 Format. After you have selected the problematic files, right-click on them to display a pop-up menu. 

Select the “Create MP3 Version” option on this menu and allow the system ample time to complete this operation. The time required to convert the files will depend on the number of files you have selected, the power of your machine, as well as the output MP3 quality you have selected. 

Deleting the Original Files 

Once the conversion is done, you need to delete the original problematic files. While doing this, be sure to check the “Also delete these songs from iCloud” option before clicking on the Delete Songs button. iTunes will prompt you on whether to keep your files, select the “move to trash” option. 

Having successfully deleted the original files, you need to restart iTunes and sort your files. Now select all the songs that have an ‘X’ cloud icon, and a “Removed” status beside it. Right-click on those files and select the “Add to iCloud” option. 

Final Verdict 

iTunes error code 9039 occurs to Mac and Windows users alike and is not specific to any device. The error may occur as you try to connect the Airplay device to iTunes or when attempting to add music to your Apple Music library. 

You will get the iTunes error code 9039 when the connection attempt has failed, which may be a result of different things. As you have learned throughout this guide, this error can be resolved in different ways, depending on what is causing it. Regardless of the cause, this guide will help you resolve the iTunes error code 9039 in a matter of minutes.


My name is Jim Kevin Taylor, also known as, Jimmy The Geek, I recently graduated from MIT with computer science major. I intern at a network security firm. I am passionate about solving technical issues.

Write A Comment