<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: &amp;apos;An error occured&amp;apos; - Document of type &amp;apos;picture&amp;apos; created through PHP automation client in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/apos-an-error-occured-apos-document-of-type-apos-picture-apos/m-p/316587#M3588</link>
    <description>&lt;P&gt;"An error occurred" Yes but what error? Please check the server logs.&lt;/P&gt;</description>
    <pubDate>Mon, 08 Aug 2016 13:46:26 GMT</pubDate>
    <dc:creator>Florent_Guillau</dc:creator>
    <dc:date>2016-08-08T13:46:26Z</dc:date>
    <item>
      <title>&amp;apos;An error occured&amp;apos; - Document of type &amp;apos;picture&amp;apos; created through PHP automation client</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/apos-an-error-occured-apos-document-of-type-apos-picture-apos/m-p/316586#M3587</link>
      <description>&lt;P&gt;I'm using the PHP automation client to bulk import some images. When I create document 'file' everything works fine, but if I change it to 'picture' it seems to work and I get a response like:
&lt;EM&gt;&lt;CODE&gt;_{"entity-type":"document","repository":"default","uid":"6f71c94b-92e6-48ef-a3bb-bc20ed9ddce7","path":"/default-domain/workspaces/Sample Content/13445.jpg","type":"Picture","state":"project","parentRef":"e5ff9e6a-a019-4fc8-a0e0-167db9eb6488","isCheckedOut":true,"changeToken":"1470662900757","title":"13445.jpg","lastModified":"2016-08-08T13:28:20.75Z","facets":["Versionable","Publishable","Picture","Commentable","HasRelatedText"]}_&lt;/CODE&gt;&lt;/EM&gt;
But then when I go to click on the document I get 'An error occurred'.
Even trying an empty picture through curl has the same issue:
&lt;EM&gt;&lt;CODE&gt;_curl -X POST -H 'Content-Type: applicat, "properties": {"dc:title": "My great new picture"}}' &lt;A href="http://localhost:8080/nuxeo/api/v1/path/default-domain/workspaces/Sample%20Content_" target="test_blank"&gt;http://localhost:8080/nuxeo/api/v1/path/default-domain/workspaces/Sample%20Content_&lt;/A&gt;&lt;/CODE&gt;&lt;/EM&gt;
Any advice on any config/parameters I'm missing? Or other ways to achieve this?
Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2016 13:38:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/apos-an-error-occured-apos-document-of-type-apos-picture-apos/m-p/316586#M3587</guid>
      <dc:creator>Kimberley_Masse</dc:creator>
      <dc:date>2016-08-08T13:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: &amp;apos;An error occured&amp;apos; - Document of type &amp;apos;picture&amp;apos; created through PHP automation client</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/apos-an-error-occured-apos-document-of-type-apos-picture-apos/m-p/316587#M3588</link>
      <description>&lt;P&gt;"An error occurred" Yes but what error? Please check the server logs.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2016 13:46:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/apos-an-error-occured-apos-document-of-type-apos-picture-apos/m-p/316587#M3588</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2016-08-08T13:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: &amp;apos;An error occured&amp;apos; - Document of type &amp;apos;picture&amp;apos; created through PHP automation client</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/apos-an-error-occured-apos-document-of-type-apos-picture-apos/m-p/316588#M3589</link>
      <description>&lt;P&gt;Hi. The full error log is http&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2016 15:29:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/apos-an-error-occured-apos-document-of-type-apos-picture-apos/m-p/316588#M3589</guid>
      <dc:creator>Kimberley_Masse</dc:creator>
      <dc:date>2016-08-08T15:29:28Z</dc:date>
    </item>
    <item>
      <title>Re: &amp;apos;An error occured&amp;apos; - Document of type &amp;apos;picture&amp;apos; created through PHP automation client</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/apos-an-error-occured-apos-document-of-type-apos-picture-apos/m-p/316589#M3590</link>
      <description>&lt;P&gt;Retrying with the automation client (instead of curl/the API) this is now working fine - I think there may have been an issue with permissions.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Aug 2016 11:11:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/apos-an-error-occured-apos-document-of-type-apos-picture-apos/m-p/316589#M3590</guid>
      <dc:creator>Kimberley_Masse</dc:creator>
      <dc:date>2016-08-09T11:11:21Z</dc:date>
    </item>
  </channel>
</rss>

