python-wordpress-xmlrpc icon indicating copy to clipboard operation
python-wordpress-xmlrpc copied to clipboard

Upload Video error "junk after document element"

Open jeanlsc opened this issue 1 year ago • 0 comments

By using:

media.UploadFile

it can work well on upload image file and return the attachment id, but when i use this function to upload video file, even the video file was successfully uploaded, but without return attachment id and getting this error:

xml.parsers.expat.ExpatError: junk after document element: line 2, column 0

How can solve this?

jeanlsc avatar Jan 19 '24 07:01 jeanlsc