<?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: Error creating fabric site with Catalyst Center API in Network Platform API</title>
    <link>https://community.cisco.com/t5/network-platform-api/error-creating-fabric-site-with-catalyst-center-api/m-p/5254670#M8599</link>
    <description>&lt;P&gt;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/1819368"&gt;@michael-w&lt;/a&gt;&amp;nbsp;sounds like you found bug! I dont see anything here on the resolves or open which meets you exact issue&amp;nbsp;&lt;A href="https://www.cisco.com/c/en/us/td/docs/cloud-systems-management/network-automation-and-management/catalyst-center/2-3-7/release_notes/b_cisco_catalyst_center_237_release_notes.html#open-bugs" target="_blank"&gt;https://www.cisco.com/c/en/us/td/docs/cloud-systems-management/network-automation-and-management/catalyst-center/2-3-7/release_notes/b_cisco_catalyst_center_237_release_notes.html#open-bugs&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 30 Jan 2025 09:55:44 GMT</pubDate>
    <dc:creator>bigevilbeard</dc:creator>
    <dc:date>2025-01-30T09:55:44Z</dc:date>
    <item>
      <title>Error creating fabric site with Catalyst Center API</title>
      <link>https://community.cisco.com/t5/network-platform-api/error-creating-fabric-site-with-catalyst-center-api/m-p/5254453#M8597</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I've been creating sites, buildings, global and sub IP pools with the Catalyst Center (DNAC) API without much issue.&amp;nbsp; I've ran into an odd error trying to create a fabric site.&amp;nbsp; I'm using the same python code to post as all the other API calls I'm doing.&amp;nbsp; Let me know if this is a possible bug or something I'm missing.&amp;nbsp; Thanks!&lt;/P&gt;
&lt;P&gt;Python Code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;fabric_site_hierarchy = "Global/US-East/WV-Test"
fabric_site_url = api_url + "/dna/intent/api/v1/business/sda/fabric-site"

fabric_site_data = {
    "siteNameHierarchy": fabric_site_hierarchy
}


#API Call to create new fabric site
post_create_fabric_site = session.post(fabric_site_url, verify=False,
    data=json.dumps(fabric_site_data),
    headers={"Content-Type": "application/json",'__runsync':"false",'__timeout':"30",'__persistbapioutput':"true", "X-Auth-Token": token},
)

print(post_create_fabric_site.json())&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Error Message:&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;{'executionId': '2f3b03ef-d5eb-4af1-9a59-82ffd6734824', 'statusCode': 500, 'errorResponse': {'bapiErrorResponse': {'bapiKey': 'd2b4-d9d0-4a4b-884c', 'bapiName': 'Add Site in SDA Fabric', 'bapiErrorCode': '', 'bapiErrorMessage': ''}, 'componentErrorResponse': [{'compId': 'uuidbb2f45a3', 'compName': 'implement final logic ', 'compErrorCode': '500', 'compErrorMessage': '2f3b03ef-d5eb-4af1-9a59-82ffd6734824 | fd809d6a-afd3-483e-b4fb-e0a65a55a821 | d2b4-d9d0-4a4b-884c : ScriptProcessor Execution Failed with error: begin 0, end -1, length 28', 'componentType': 'JAVASCRIPT_TRANSFORM'}]}}&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 29 Jan 2025 20:36:21 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/error-creating-fabric-site-with-catalyst-center-api/m-p/5254453#M8597</guid>
      <dc:creator>michael-w</dc:creator>
      <dc:date>2025-01-29T20:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: Error creating fabric site with Catalyst Center API</title>
      <link>https://community.cisco.com/t5/network-platform-api/error-creating-fabric-site-with-catalyst-center-api/m-p/5254474#M8598</link>
      <description>&lt;P&gt;As an added note.&amp;nbsp; I was testing this on the devnet site Catalyst Center with ISE which is v2.3.7.4.&amp;nbsp; I just tested the code on the public Catalyst Center which is v2.3.5.5 and it works on the older version.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2025 21:16:13 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/error-creating-fabric-site-with-catalyst-center-api/m-p/5254474#M8598</guid>
      <dc:creator>michael-w</dc:creator>
      <dc:date>2025-01-29T21:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: Error creating fabric site with Catalyst Center API</title>
      <link>https://community.cisco.com/t5/network-platform-api/error-creating-fabric-site-with-catalyst-center-api/m-p/5254670#M8599</link>
      <description>&lt;P&gt;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/1819368"&gt;@michael-w&lt;/a&gt;&amp;nbsp;sounds like you found bug! I dont see anything here on the resolves or open which meets you exact issue&amp;nbsp;&lt;A href="https://www.cisco.com/c/en/us/td/docs/cloud-systems-management/network-automation-and-management/catalyst-center/2-3-7/release_notes/b_cisco_catalyst_center_237_release_notes.html#open-bugs" target="_blank"&gt;https://www.cisco.com/c/en/us/td/docs/cloud-systems-management/network-automation-and-management/catalyst-center/2-3-7/release_notes/b_cisco_catalyst_center_237_release_notes.html#open-bugs&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2025 09:55:44 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/error-creating-fabric-site-with-catalyst-center-api/m-p/5254670#M8599</guid>
      <dc:creator>bigevilbeard</dc:creator>
      <dc:date>2025-01-30T09:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: Error creating fabric site with Catalyst Center API</title>
      <link>https://community.cisco.com/t5/network-platform-api/error-creating-fabric-site-with-catalyst-center-api/m-p/5254738#M8600</link>
      <description>&lt;P&gt;Thank you &lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/352839"&gt;@bigevilbeard&lt;/a&gt; I haven't reported one for Catalyst Center before, is the best way a TAC?&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2025 12:35:24 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/error-creating-fabric-site-with-catalyst-center-api/m-p/5254738#M8600</guid>
      <dc:creator>michael-w</dc:creator>
      <dc:date>2025-01-30T12:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: Error creating fabric site with Catalyst Center API</title>
      <link>https://community.cisco.com/t5/network-platform-api/error-creating-fabric-site-with-catalyst-center-api/m-p/5254751#M8601</link>
      <description>&lt;P&gt;Yes i would think so or they can confirm this is one, it could also be a change in the API, payload etc, between versions, i would still do this for them to confirm here, as you noted you tried this on two version and had different results.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2025 13:08:06 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/error-creating-fabric-site-with-catalyst-center-api/m-p/5254751#M8601</guid>
      <dc:creator>bigevilbeard</dc:creator>
      <dc:date>2025-01-30T13:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: Error creating fabric site with Catalyst Center API</title>
      <link>https://community.cisco.com/t5/network-platform-api/error-creating-fabric-site-with-catalyst-center-api/m-p/5257292#M8602</link>
      <description>&lt;P&gt;As an update, I think this may just be related to 2.3.7.4.&amp;nbsp; I found other API issues within this devnet deployment for anything SDA related.&amp;nbsp; When I tested a GET to our production Catalyst Center which is 2.3.7.7 it returned data when the devnet 2.3.7.4 returned stating the particular API call didn't exist even though it is documented online under the 2.3.7 API reference.&amp;nbsp; I posted to the devnet community seeing if there's a way to manually upgrade the devnet deployment since it is your own private enclave once it's spun up.&lt;BR /&gt;&lt;A href="https://community.cisco.com/t5/devnet-sandbox/catalyst-center-2-3-7-4-with-ise-api-issues-in-devnet/m-p/5257289#M10904" target="_blank" rel="noopener"&gt;Catalyst Center 2.3.7.4 with ISE API issues in devnet - Cisco Community&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2025 21:22:45 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/error-creating-fabric-site-with-catalyst-center-api/m-p/5257292#M8602</guid>
      <dc:creator>michael-w</dc:creator>
      <dc:date>2025-02-05T21:22:45Z</dc:date>
    </item>
  </channel>
</rss>

