Skip to content

Upload Video error "junk after document element" #160

Description

@jeanlsc

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions