[wp-trac] [WordPress Trac] #35185: Unable to create Post via XMLRPC after upgrading to 4.4
WordPress Trac
noreply at wordpress.org
Mon Dec 21 15:08:29 UTC 2015
#35185: Unable to create Post via XMLRPC after upgrading to 4.4
-----------------------------+------------------------------
Reporter: Sandeep.Prakash | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: XML-RPC | Version: 4.4
Severity: normal | Resolution:
Keywords: | Focuses:
-----------------------------+------------------------------
Comment (by Sandeep.Prakash):
If I am using the "Administrator" to create the Post above, then this is
the error I get:
{{{
cant get id on saving, # WordPress::XMLRPC::newPost() - ERROR faultCode,
404
# WordPress::XMLRPC::newPost() - ERROR faultString, Invalid author ID.
at /usr/local/share/perl/5.20.2/WordPress/Base/Object.pm line 134.
WordPress::Base::Object::save(WordPress::API::Post=HASH(0xa21c18))
called at testPost.pl line 12
}}}
If I am using any other user (capable of creating post), here is the error
I get:
{{{
cant get id on saving, # WordPress::XMLRPC::newPost() - ERROR faultCode,
401
# WordPress::XMLRPC::newPost() - ERROR faultString, You are not allowed to
create posts as this user.
at /usr/local/share/perl/5.20.2/WordPress/Base/Object.pm line 134.
WordPress::Base::Object::save(WordPress::API::Post=HASH(0x1f55c18)) called
at testPost.pl line 12
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35185#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list