{"action":"created","issue":{"url":"https://api.github.com/repos/woothemes/woocommerce/issues/10349","repository_url":"https://api.github.com/repos/woothemes/woocommerce","labels_url":"https://api.github.com/repos/woothemes/woocommerce/issues/10349/labels{/name}","comments_url":"https://api.github.com/repos/woothemes/woocommerce/issues/10349/comments","events_url":"https://api.github.com/repos/woothemes/woocommerce/issues/10349/events","html_url":"https://github.com/woothemes/woocommerce/issues/10349","id":133453820,"number":10349,"title":"API returns 403 when providing BOTH short_description and description as HTML.","user":{"login":"MichaelScottCode","id":2870589,"avatar_url":"https://avatars.githubusercontent.com/u/2870589?v=3","gravatar_id":"","url":"https://api.github.com/users/MichaelScottCode","html_url":"https://github.com/MichaelScottCode","followers_url":"https://api.github.com/users/MichaelScottCode/followers","following_url":"https://api.github.com/users/MichaelScottCode/following{/other_user}","gists_url":"https://api.github.com/users/MichaelScottCode/gists{/gist_id}","starred_url":"https://api.github.com/users/MichaelScottCode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MichaelScottCode/subscriptions","organizations_url":"https://api.github.com/users/MichaelScottCode/orgs","repos_url":"https://api.github.com/users/MichaelScottCode/repos","events_url":"https://api.github.com/users/MichaelScottCode/events{/privacy}","received_events_url":"https://api.github.com/users/MichaelScottCode/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/woothemes/woocommerce/labels/API","name":"API","color":"207de5"},{"url":"https://api.github.com/repos/woothemes/woocommerce/labels/Bug","name":"Bug","color":"e10c02"}],"state":"closed","locked":false,"assignee":{"login":"justinshreve","id":689165,"avatar_url":"https://avatars.githubusercontent.com/u/689165?v=3","gravatar_id":"","url":"https://api.github.com/users/justinshreve","html_url":"https://github.com/justinshreve","followers_url":"https://api.github.com/users/justinshreve/followers","following_url":"https://api.github.com/users/justinshreve/following{/other_user}","gists_url":"https://api.github.com/users/justinshreve/gists{/gist_id}","starred_url":"https://api.github.com/users/justinshreve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinshreve/subscriptions","organizations_url":"https://api.github.com/users/justinshreve/orgs","repos_url":"https://api.github.com/users/justinshreve/repos","events_url":"https://api.github.com/users/justinshreve/events{/privacy}","received_events_url":"https://api.github.com/users/justinshreve/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2016-02-13T17:53:15Z","updated_at":"2016-02-18T00:04:55Z","closed_at":"2016-02-18T00:04:55Z","body":"The following returns 403 when trying to update a product:\r\n\r\n\t$newData['product']['description'] = \"<p>Test</p>\";\r\n\t$newData['product']['enable_html_description'] = true;\r\n\t$newData['product']['short_description'] = \"<p>Test</p>\";\r\n\t$newData['product']['enable_html_short_description'] = 'true';\r\n\r\nI'm aware of the switch between bool and string for the enable parameters. This is as per the docs... i've also tried this with both bool and string values and nothing seems to resolve it. Had to split my update into two separate calls to work around it for now."},"comment":{"url":"https://api.github.com/repos/woothemes/woocommerce/issues/comments/185467721","html_url":"https://github.com/woothemes/woocommerce/issues/10349#issuecomment-185467721","issue_url":"https://api.github.com/repos/woothemes/woocommerce/issues/10349","id":185467721,"user":{"login":"MichaelScottCode","id":2870589,"avatar_url":"https://avatars.githubusercontent.com/u/2870589?v=3","gravatar_id":"","url":"https://api.github.com/users/MichaelScottCode","html_url":"https://github.com/MichaelScottCode","followers_url":"https://api.github.com/users/MichaelScottCode/followers","following_url":"https://api.github.com/users/MichaelScottCode/following{/other_user}","gists_url":"https://api.github.com/users/MichaelScottCode/gists{/gist_id}","starred_url":"https://api.github.com/users/MichaelScottCode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MichaelScottCode/subscriptions","organizations_url":"https://api.github.com/users/MichaelScottCode/orgs","repos_url":"https://api.github.com/users/MichaelScottCode/repos","events_url":"https://api.github.com/users/MichaelScottCode/events{/privacy}","received_events_url":"https://api.github.com/users/MichaelScottCode/received_events","type":"User","site_admin":false},"created_at":"2016-02-18T00:04:55Z","updated_at":"2016-02-18T00:04:55Z","body":"Turns out I wasn't using the official wrapper. I was using [kloon's](https://github.com/kloon/WooCommerce-REST-API-Client-Library) wrapper which I had updated with v3 endpoints.\r\n\r\nI've switched it out now and the problem doesn't exist. Thanks for the heads up."}}