<?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 allOccurrences (Manufacturing Data Model) returns far fewer occurrences than the design contains — incomplete index / unresolved references? in Fusion API and Scripts Forum</title>
    <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/alloccurrences-manufacturing-data-model-returns-far-fewer/m-p/14175860#M22897</link>
    <description>&lt;P class=""&gt;&lt;SPAN class=""&gt;I'm using the Manufacturing Data Model GraphQL API (&lt;/SPAN&gt;&lt;SPAN class=""&gt;POST &lt;A href="https://developer.api.autodesk.com/beta/graphql" target="_blank" rel="noopener"&gt;https://developer.api.autodesk.com/beta/graphql&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;) to retrieve the full occurrence hierarchy of a Fusion design, so I can rebuild&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;the assembly tree server-side. The design is a large assembly with &lt;/SPAN&gt;&lt;SPAN class=""&gt;5 external references&lt;/SPAN&gt;&lt;SPAN class=""&gt; (sub-assembly components from other files).&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;My query, paginated by cursor at &lt;/SPAN&gt;&lt;SPAN class=""&gt;limit: 50&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;  query {
    item(hubId: "&amp;lt;HUB_ID&amp;gt;", itemId: "&amp;lt;ITEM_ID&amp;gt;") {
      ... on DesignItem {
        tipRootComponentVersion {
          id
          name
          allOccurrences(pagination: { limit: 50, cursor: "&amp;lt;CURSOR&amp;gt;" }) {
            pagination { cursor }
            results {
              componentVersion { id name }
              parentComponentVersion { id }
            }
          }
        }
      }                                                                       
    }
  }&lt;/LI-CODE&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;I walk every page until the cursor is null. The hierarchy data itself looks correct (&lt;/SPAN&gt;&lt;SPAN class=""&gt;parentComponentVersion&lt;/SPAN&gt;&lt;SPAN class=""&gt; is populated and the parent/child relationships are right). &lt;/SPAN&gt;&lt;SPAN class=""&gt;The problem is &lt;/SPAN&gt;&lt;SPAN class=""&gt;completeness&lt;/SPAN&gt;&lt;SPAN class=""&gt; — the occurrence count is far lower than reality:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Source &amp;amp; Total Occurances&lt;BR /&gt;Working Bom export (Fusion web) --&amp;gt; 7245&lt;/P&gt;&lt;P&gt;Fusion desktop traversal (childOccurances, addon) --&amp;gt;&amp;nbsp;6344&lt;BR /&gt;allOccurrances (this API) --&amp;gt; 3448 (71 pages)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;So &lt;/SPAN&gt;&lt;SPAN class=""&gt;allOccurrences&lt;/SPAN&gt;&lt;SPAN class=""&gt; returns less than half of what the Working BOM reports, and even less than a desktop traversal of the same design.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;A few related observations:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;One occurrence came back with &lt;/SPAN&gt;&lt;SPAN class=""&gt;componentVersion: null&lt;/SPAN&gt; and this error, on a child of one of the external-reference sub-assemblies:&amp;nbsp; "message": "Requested resource not found. autodesk.product:assets.model data not found",&amp;nbsp; "path": ["item","tipRootComponentVersion","allOccurrences","results",35,"componentVersion"],&amp;nbsp; "extensions": { "code": "NOT_FOUND" }&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;It looks like the rest of that sub-assembly's subtree is then simply &lt;SPAN class=""&gt;absent&lt;/SPAN&gt; from &lt;SPAN class=""&gt;allOccurrences&lt;/SPAN&gt; (not returned as nulls — just missing).&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Earlier, the same item returned &lt;SPAN class=""&gt;tipRootComponentVersion: null&lt;/SPAN&gt; with:&amp;nbsp; "Individual property data for this item is not yet available in the Fusion Cloud Information Model.&amp;nbsp;&amp;nbsp; Try opening the item and saving it again in the latest version of Fusion."&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;That cleared after re-saving the top assembly — but the per-component completeness issue above remains.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;My questions:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Does &lt;SPAN class=""&gt;allOccurrences&lt;/SPAN&gt; require every referenced &lt;SPAN class=""&gt;componentVersion&lt;/SPAN&gt; (including those inside external references) to be fully indexed in the Fusion Cloud Information Model, and does it&amp;nbsp; &lt;SPAN class=""&gt;silently omit&lt;/SPAN&gt; occurrences whose components aren't yet indexed?&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;How can I determine when indexing is &lt;SPAN class=""&gt;complete&lt;/SPAN&gt; for a design &lt;I&gt;and all of its external references&lt;/I&gt; — is there a status field or endpoint to check?&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Is there a way to &lt;SPAN class=""&gt;trigger/force re-indexing&lt;/SPAN&gt; of referenced components, short of opening and re-saving each referenced file individually?&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN class=""&gt;For an occurrence where &lt;/SPAN&gt;&lt;SPAN class=""&gt;componentVersion&lt;/SPAN&gt;&lt;SPAN class=""&gt; is null (&lt;/SPAN&gt;&lt;SPAN class=""&gt;assets.model data not found&lt;/SPAN&gt;&lt;SPAN class=""&gt;), is that a transient/recoverable state, and what's the recommended way to handle or retry it?&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Is there any API path that returns the &lt;SPAN class=""&gt;complete&lt;/SPAN&gt;&lt;SPAN class=""&gt; occurrence hierarchy matching the Working BOM export (which clearly has the full resolved tree)?&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Any guidance on getting &lt;/SPAN&gt;&lt;SPAN class=""&gt;allOccurrences&lt;/SPAN&gt;&lt;SPAN class=""&gt; to return the complete tree — or confirmation that it's gated on cloud indexing of every reference — would be much appreciated.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 23 Jun 2026 10:46:44 GMT</pubDate>
    <dc:creator>joesummers4LQ89</dc:creator>
    <dc:date>2026-06-23T10:46:44Z</dc:date>
    <item>
      <title>allOccurrences (Manufacturing Data Model) returns far fewer occurrences than the design contains — incomplete index / unresolved references?</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/alloccurrences-manufacturing-data-model-returns-far-fewer/m-p/14175860#M22897</link>
      <description>&lt;P class=""&gt;&lt;SPAN class=""&gt;I'm using the Manufacturing Data Model GraphQL API (&lt;/SPAN&gt;&lt;SPAN class=""&gt;POST &lt;A href="https://developer.api.autodesk.com/beta/graphql" target="_blank" rel="noopener"&gt;https://developer.api.autodesk.com/beta/graphql&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;) to retrieve the full occurrence hierarchy of a Fusion design, so I can rebuild&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;the assembly tree server-side. The design is a large assembly with &lt;/SPAN&gt;&lt;SPAN class=""&gt;5 external references&lt;/SPAN&gt;&lt;SPAN class=""&gt; (sub-assembly components from other files).&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;My query, paginated by cursor at &lt;/SPAN&gt;&lt;SPAN class=""&gt;limit: 50&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;  query {
    item(hubId: "&amp;lt;HUB_ID&amp;gt;", itemId: "&amp;lt;ITEM_ID&amp;gt;") {
      ... on DesignItem {
        tipRootComponentVersion {
          id
          name
          allOccurrences(pagination: { limit: 50, cursor: "&amp;lt;CURSOR&amp;gt;" }) {
            pagination { cursor }
            results {
              componentVersion { id name }
              parentComponentVersion { id }
            }
          }
        }
      }                                                                       
    }
  }&lt;/LI-CODE&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;I walk every page until the cursor is null. The hierarchy data itself looks correct (&lt;/SPAN&gt;&lt;SPAN class=""&gt;parentComponentVersion&lt;/SPAN&gt;&lt;SPAN class=""&gt; is populated and the parent/child relationships are right). &lt;/SPAN&gt;&lt;SPAN class=""&gt;The problem is &lt;/SPAN&gt;&lt;SPAN class=""&gt;completeness&lt;/SPAN&gt;&lt;SPAN class=""&gt; — the occurrence count is far lower than reality:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Source &amp;amp; Total Occurances&lt;BR /&gt;Working Bom export (Fusion web) --&amp;gt; 7245&lt;/P&gt;&lt;P&gt;Fusion desktop traversal (childOccurances, addon) --&amp;gt;&amp;nbsp;6344&lt;BR /&gt;allOccurrances (this API) --&amp;gt; 3448 (71 pages)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;So &lt;/SPAN&gt;&lt;SPAN class=""&gt;allOccurrences&lt;/SPAN&gt;&lt;SPAN class=""&gt; returns less than half of what the Working BOM reports, and even less than a desktop traversal of the same design.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;A few related observations:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;One occurrence came back with &lt;/SPAN&gt;&lt;SPAN class=""&gt;componentVersion: null&lt;/SPAN&gt; and this error, on a child of one of the external-reference sub-assemblies:&amp;nbsp; "message": "Requested resource not found. autodesk.product:assets.model data not found",&amp;nbsp; "path": ["item","tipRootComponentVersion","allOccurrences","results",35,"componentVersion"],&amp;nbsp; "extensions": { "code": "NOT_FOUND" }&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;It looks like the rest of that sub-assembly's subtree is then simply &lt;SPAN class=""&gt;absent&lt;/SPAN&gt; from &lt;SPAN class=""&gt;allOccurrences&lt;/SPAN&gt; (not returned as nulls — just missing).&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Earlier, the same item returned &lt;SPAN class=""&gt;tipRootComponentVersion: null&lt;/SPAN&gt; with:&amp;nbsp; "Individual property data for this item is not yet available in the Fusion Cloud Information Model.&amp;nbsp;&amp;nbsp; Try opening the item and saving it again in the latest version of Fusion."&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;That cleared after re-saving the top assembly — but the per-component completeness issue above remains.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;My questions:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Does &lt;SPAN class=""&gt;allOccurrences&lt;/SPAN&gt; require every referenced &lt;SPAN class=""&gt;componentVersion&lt;/SPAN&gt; (including those inside external references) to be fully indexed in the Fusion Cloud Information Model, and does it&amp;nbsp; &lt;SPAN class=""&gt;silently omit&lt;/SPAN&gt; occurrences whose components aren't yet indexed?&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;How can I determine when indexing is &lt;SPAN class=""&gt;complete&lt;/SPAN&gt; for a design &lt;I&gt;and all of its external references&lt;/I&gt; — is there a status field or endpoint to check?&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Is there a way to &lt;SPAN class=""&gt;trigger/force re-indexing&lt;/SPAN&gt; of referenced components, short of opening and re-saving each referenced file individually?&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN class=""&gt;For an occurrence where &lt;/SPAN&gt;&lt;SPAN class=""&gt;componentVersion&lt;/SPAN&gt;&lt;SPAN class=""&gt; is null (&lt;/SPAN&gt;&lt;SPAN class=""&gt;assets.model data not found&lt;/SPAN&gt;&lt;SPAN class=""&gt;), is that a transient/recoverable state, and what's the recommended way to handle or retry it?&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Is there any API path that returns the &lt;SPAN class=""&gt;complete&lt;/SPAN&gt;&lt;SPAN class=""&gt; occurrence hierarchy matching the Working BOM export (which clearly has the full resolved tree)?&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Any guidance on getting &lt;/SPAN&gt;&lt;SPAN class=""&gt;allOccurrences&lt;/SPAN&gt;&lt;SPAN class=""&gt; to return the complete tree — or confirmation that it's gated on cloud indexing of every reference — would be much appreciated.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2026 10:46:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/alloccurrences-manufacturing-data-model-returns-far-fewer/m-p/14175860#M22897</guid>
      <dc:creator>joesummers4LQ89</dc:creator>
      <dc:date>2026-06-23T10:46:44Z</dc:date>
    </item>
  </channel>
</rss>

