Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Askancy Posted April 4, 2016 Posted April 4, 2016 Hello I was trying to implement the REST API forums/topics POST on my site, I just have a problem... If I try to post a new topic WITHOUT the tag or prefix works, but with the prefix or tag no, why? and it returns me the error: " array(2) { ["errorCode"]=> string(6) "EX1048" ["errorMessage"]=> string(13) "UNKNOWN_ERROR" } " This is the code I am using: var_dump( \IPS\Http\Url::external( $url . "api/forums/topics" )->request()->login( $key, "" )->post( array( 'forum' => 5, 'author' => 1, 'title' => 'Test titolo discussione', 'post' => '<p>Proviamo se funziona</p>', 'tags' => 'test' ) )->decodeJson() ); If I remove "'tags' => 'test'" it works...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.