Export playlist history to iTunes fails always on first attempt

maybe I’m doing it wrong, but my export of playlists fails always on the first time when exporting to iTunes. Only a few tracks of the playlist will be exported. If I start the export again all tracks of the playlist are getting exported to iTunes. Any idea why this happens?
Many thanks