<?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 Fabric API - Items - Create Semantic Model REST API (SemanticModel) 202 uable to process error in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Fabric-API-Items-Create-Semantic-Model-REST-API-SemanticModel/m-p/4288636#M58309</link>
    <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I’m currently exploring the Microsoft Fabric API,&amp;nbsp;specifically the Items - Create Semantic Model REST API (SemanticModel) as detailed on Microsoft Learn. Items - Create Semantic Model - REST API (SemanticModel) | Microsoft Learn&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am facing error 202-&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;TridentPublicApiErrorResponse&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;xmlns:i&lt;/SPAN&gt;="&lt;SPAN class=""&gt;&lt;A href="http://www.w3.org/2001/XMLSchema-instance" target="_blank" rel="noopener"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;xmlns&lt;/SPAN&gt;="&lt;SPAN class=""&gt;&lt;A href="http://schemas.datacontract.org/2004/07/Microsoft.PowerBI.ServiceContracts.Api.Public.Trident" target="_blank" rel="noopener"&gt;http://schemas.datacontract.org/2004/07/Microsoft.PowerBI.ServiceContracts.Api.Public.Trident&lt;/A&gt;&lt;/SPAN&gt;"&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;errorCode&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;RequestFailed&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/errorCode&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;message&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;Unable to process the request&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/message&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;requestId&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;5646a7e7-2a72-450b-a232-27257442bd94&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/requestId&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;/TridentPublicApiErrorResponse&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using structure for request boby content:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;post content:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;var content = new StringContent(&lt;BR /&gt;JsonConvert.SerializeObject(new&lt;BR /&gt;{&lt;BR /&gt;displayName = "SemanticModel 112",&lt;BR /&gt;description = "A semantic model description.",&lt;BR /&gt;definition = new&lt;BR /&gt;{&lt;BR /&gt;parts = new[]&lt;BR /&gt;{&lt;BR /&gt;new&lt;BR /&gt;{&lt;BR /&gt;path = "model.bim",&lt;BR /&gt;payload = modelBimBase641,&lt;BR /&gt;payloadType = "InlineBase64"&lt;BR /&gt;},&lt;BR /&gt;new&lt;BR /&gt;{&lt;BR /&gt;path = "definition.pbism",&lt;BR /&gt;payload = modelBimBase641,&lt;BR /&gt;payloadType = "InlineBase64"&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;}),&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NaveenBharathi_1-1731923270870.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1201294i2B49C4B8551C5330/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NaveenBharathi_1-1731923270870.png" alt="NaveenBharathi_1-1731923270870.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My questions are:&lt;/P&gt;&lt;P&gt;1. How can I create a semantic model Fabric API?&lt;/P&gt;&lt;P&gt;2.How to resolve the error.&lt;/P&gt;&lt;P&gt;3. Please help to provide sample request body content in Semantic model create.&lt;/P&gt;&lt;P&gt;4. Any another way for creating the semantic model uisng fabric API&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated!&lt;/P&gt;</description>
    <pubDate>Mon, 18 Nov 2024 09:51:08 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-18T09:51:08Z</dc:date>
    <item>
      <title>Fabric API - Items - Create Semantic Model REST API (SemanticModel) 202 uable to process error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Fabric-API-Items-Create-Semantic-Model-REST-API-SemanticModel/m-p/4288636#M58309</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I’m currently exploring the Microsoft Fabric API,&amp;nbsp;specifically the Items - Create Semantic Model REST API (SemanticModel) as detailed on Microsoft Learn. Items - Create Semantic Model - REST API (SemanticModel) | Microsoft Learn&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am facing error 202-&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;TridentPublicApiErrorResponse&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;xmlns:i&lt;/SPAN&gt;="&lt;SPAN class=""&gt;&lt;A href="http://www.w3.org/2001/XMLSchema-instance" target="_blank" rel="noopener"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;xmlns&lt;/SPAN&gt;="&lt;SPAN class=""&gt;&lt;A href="http://schemas.datacontract.org/2004/07/Microsoft.PowerBI.ServiceContracts.Api.Public.Trident" target="_blank" rel="noopener"&gt;http://schemas.datacontract.org/2004/07/Microsoft.PowerBI.ServiceContracts.Api.Public.Trident&lt;/A&gt;&lt;/SPAN&gt;"&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;errorCode&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;RequestFailed&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/errorCode&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;message&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;Unable to process the request&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/message&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;requestId&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;5646a7e7-2a72-450b-a232-27257442bd94&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/requestId&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;/TridentPublicApiErrorResponse&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using structure for request boby content:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;post content:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;var content = new StringContent(&lt;BR /&gt;JsonConvert.SerializeObject(new&lt;BR /&gt;{&lt;BR /&gt;displayName = "SemanticModel 112",&lt;BR /&gt;description = "A semantic model description.",&lt;BR /&gt;definition = new&lt;BR /&gt;{&lt;BR /&gt;parts = new[]&lt;BR /&gt;{&lt;BR /&gt;new&lt;BR /&gt;{&lt;BR /&gt;path = "model.bim",&lt;BR /&gt;payload = modelBimBase641,&lt;BR /&gt;payloadType = "InlineBase64"&lt;BR /&gt;},&lt;BR /&gt;new&lt;BR /&gt;{&lt;BR /&gt;path = "definition.pbism",&lt;BR /&gt;payload = modelBimBase641,&lt;BR /&gt;payloadType = "InlineBase64"&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;}),&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NaveenBharathi_1-1731923270870.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1201294i2B49C4B8551C5330/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NaveenBharathi_1-1731923270870.png" alt="NaveenBharathi_1-1731923270870.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My questions are:&lt;/P&gt;&lt;P&gt;1. How can I create a semantic model Fabric API?&lt;/P&gt;&lt;P&gt;2.How to resolve the error.&lt;/P&gt;&lt;P&gt;3. Please help to provide sample request body content in Semantic model create.&lt;/P&gt;&lt;P&gt;4. Any another way for creating the semantic model uisng fabric API&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated!&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2024 09:51:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Fabric-API-Items-Create-Semantic-Model-REST-API-SemanticModel/m-p/4288636#M58309</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-18T09:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: Fabric API - Items - Create Semantic Model REST API (SemanticModel) 202 uable to process error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Fabric-API-Items-Create-Semantic-Model-REST-API-SemanticModel/m-p/4288820#M58312</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have you tried the same json payload in for example a tool like Postman? That might be an easier way to check if it is related to the body payload of the request or the actual code itself.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Btw, it is a long running operation, so it might return different status codes. For example a HTTP 202 response would be that the request is accepted, but that it is still busy with creating the model in the background:&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/rest/api/fabric/semanticmodel/items/create-semantic-model?tabs=HTTP#response" target="_blank"&gt;https://learn.microsoft.com/en-us/rest/api/fabric/semanticmodel/items/create-semantic-model?tabs=HTTP#response&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And did you try the below example as well?&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/rest/api/fabric/semanticmodel/items/create-semantic-model?tabs=HTTP#create-a-semantic-model-example" target="_blank"&gt;https://learn.microsoft.com/en-us/rest/api/fabric/semanticmodel/items/create-semantic-model?tabs=HTTP#create-a-semantic-model-example&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2024 12:04:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Fabric-API-Items-Create-Semantic-Model-REST-API-SemanticModel/m-p/4288820#M58312</guid>
      <dc:creator>Expiscornovus</dc:creator>
      <dc:date>2024-11-18T12:04:49Z</dc:date>
    </item>
  </channel>
</rss>

