Skip to content

Fault 500: A term with the name provided already exists with this parent #104

@djiesamsoe

Description

@djiesamsoe

hello @maxcutler ,
I have problems when I create a new post with the categories that are already in use in the previous post, but there was an error as below:

Fault: <Fault 500: 'A term with the name provided already exists with this parent.'>

The script that I use:

post = WordPressPost()
post.post_type = 'post'
post.terms_names = { 'post_tag': categorys, 'category': categorys }
post.title = title
post.content = content
post.post_status = 'publish'
post.thumbnail = attachment_id
client.call(posts.NewPost(post))

i'm use VPS server.

Please help !

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