<?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 A namespace prefix is not registered for uri when getting node info in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/a-namespace-prefix-is-not-registered-for-uri-when-getting-node/m-p/148830#M39320</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm in the process of migratingAlfresco Community 5.2.e. from one server to another. I've re-installed the Alfresco itself, connected it to external DB and migrated data as well. However, I keep getting following error when getting document info through API.&lt;/P&gt;&lt;P&gt;Query:&lt;/P&gt;&lt;PRE&gt;/alfresco/api/-default-/public/alfresco/versions/1/nodes/{{documentId}}&lt;/PRE&gt;&lt;P&gt;Response:&lt;/P&gt;&lt;PRE&gt;{
    "error": {
        "errorKey": "framework.exception.ApiDefault",
        "statusCode": 500,
        "briefSummary": "A namespace prefix is not registered for uri http://oami.europa.eu/sp/cmis/custom",
        "stackTrace": "For security reasons the stack trace is no longer displayed, but the property is kept for previous versions",
        "descriptionURL": "https://api-explorer.alfresco.com",
        "logId": "..."
    }
}&lt;/PRE&gt;&lt;P&gt;I was able to find the uri in DB (table alf_namespace). My guess is I've probably forgot to install something so my quetions is, how exactly can I debug this issue? How can I get a list of prefixes and their respective URLs?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
    <pubDate>Mon, 19 Jun 2023 15:19:56 GMT</pubDate>
    <dc:creator>cajova_houba</dc:creator>
    <dc:date>2023-06-19T15:19:56Z</dc:date>
    <item>
      <title>A namespace prefix is not registered for uri when getting node info</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/a-namespace-prefix-is-not-registered-for-uri-when-getting-node/m-p/148830#M39320</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm in the process of migratingAlfresco Community 5.2.e. from one server to another. I've re-installed the Alfresco itself, connected it to external DB and migrated data as well. However, I keep getting following error when getting document info through API.&lt;/P&gt;&lt;P&gt;Query:&lt;/P&gt;&lt;PRE&gt;/alfresco/api/-default-/public/alfresco/versions/1/nodes/{{documentId}}&lt;/PRE&gt;&lt;P&gt;Response:&lt;/P&gt;&lt;PRE&gt;{
    "error": {
        "errorKey": "framework.exception.ApiDefault",
        "statusCode": 500,
        "briefSummary": "A namespace prefix is not registered for uri http://oami.europa.eu/sp/cmis/custom",
        "stackTrace": "For security reasons the stack trace is no longer displayed, but the property is kept for previous versions",
        "descriptionURL": "https://api-explorer.alfresco.com",
        "logId": "..."
    }
}&lt;/PRE&gt;&lt;P&gt;I was able to find the uri in DB (table alf_namespace). My guess is I've probably forgot to install something so my quetions is, how exactly can I debug this issue? How can I get a list of prefixes and their respective URLs?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2023 15:19:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/a-namespace-prefix-is-not-registered-for-uri-when-getting-node/m-p/148830#M39320</guid>
      <dc:creator>cajova_houba</dc:creator>
      <dc:date>2023-06-19T15:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: A namespace prefix is not registered for uri when getting node info</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/a-namespace-prefix-is-not-registered-for-uri-when-getting-node/m-p/148831#M39321</link>
      <description>&lt;P&gt;You must have created custom content model on your old alfresco instance but missed to move it to new one.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have already moved model then it must not have been registered properly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Error you are getting indicates that info for nodes that of custom type(from your custom content model) can't be provided as that custom type is not known to alfresco.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2023 08:35:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/a-namespace-prefix-is-not-registered-for-uri-when-getting-node/m-p/148831#M39321</guid>
      <dc:creator>mitpatoliya</dc:creator>
      <dc:date>2023-06-22T08:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: A namespace prefix is not registered for uri when getting node info</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/a-namespace-prefix-is-not-registered-for-uri-when-getting-node/m-p/148832#M39322</link>
      <description>&lt;P&gt;Thanks for your reply!&lt;/P&gt;&lt;P&gt;I'm pretty sure there was some custom model in the old instance. However, I'm did not manage the old instance so I don't know for sure. I still have access to the old instance though. Do you know if there's a way of getting custom model out of the old instance? Or at least list all custom models installed there?&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2023 09:27:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/a-namespace-prefix-is-not-registered-for-uri-when-getting-node/m-p/148832#M39322</guid>
      <dc:creator>cajova_houba</dc:creator>
      <dc:date>2023-06-26T09:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: A namespace prefix is not registered for uri when getting node info</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/a-namespace-prefix-is-not-registered-for-uri-when-getting-node/m-p/148833#M39323</link>
      <description>&lt;P&gt;Related to this problem did you know if there is some property to "ignored" unknown model when you use the REST API ?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jul 2023 08:31:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/a-namespace-prefix-is-not-registered-for-uri-when-getting-node/m-p/148833#M39323</guid>
      <dc:creator>AlfrescoZZZ</dc:creator>
      <dc:date>2023-07-27T08:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: A namespace prefix is not registered for uri when getting node info</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/a-namespace-prefix-is-not-registered-for-uri-when-getting-node/m-p/148834#M39324</link>
      <description>&lt;P&gt;Once a content model is registered it is registered. You have to de-register via bootstapping or deactive (if created from model-manager).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;AFAIK- There is no such property to say ignore&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jul 2023 17:38:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/a-namespace-prefix-is-not-registered-for-uri-when-getting-node/m-p/148834#M39324</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2023-07-27T17:38:51Z</dc:date>
    </item>
  </channel>
</rss>

