Python Package problem

Hello,

I am using Python Package methods to upload my dataset. When I use the upload() method, the image is uploaded, but the annotation (xml format) fails to upload.

Code:
project.upload(imagePath, annotationpath)

Screenshot of the problem:

Thank you and i hope to help me ASAP.