<?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 Fail to Add Feature in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/fail-to-add-feature/m-p/457464#M2146</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to add feature into feature table using REST API call but facing the following error, both from online interface as well as Postman client.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #333399; font-size: 15px; font-family: 'arial black', sans-serif;"&gt;{&amp;nbsp; "error": {&amp;nbsp;&amp;nbsp; "code": 400,&amp;nbsp;&amp;nbsp; "message": "Unable to complete operation.",&amp;nbsp;&amp;nbsp; "details": [&amp;nbsp;&amp;nbsp;&amp;nbsp; "Rowbuffer creation failed."&amp;nbsp;&amp;nbsp; ]&amp;nbsp; } }&lt;/SPAN&gt;

My table structure is as following:
&lt;SPAN style="font-family: 'arial black', sans-serif; color: #333399;"&gt;CREATE TABLE [dbo].[Table_1](&lt;/SPAN&gt;
&lt;SPAN style="font-family: 'arial black', sans-serif; color: #333399;"&gt; [Col_1] [int] IDENTITY(1,1) NOT NULL,&lt;/SPAN&gt;
&lt;SPAN style="font-family: 'arial black', sans-serif; color: #333399;"&gt; [Col_2] [varchar](255) NOT NULL,&lt;/SPAN&gt;
&lt;SPAN style="font-family: 'arial black', sans-serif; color: #333399;"&gt; [Col_3] [geometry] NOT NULL,&lt;/SPAN&gt;
&lt;SPAN style="font-family: 'arial black', sans-serif; color: #333399;"&gt; [Col_4] [varchar](255) NULL,&lt;/SPAN&gt;
&lt;SPAN style="font-family: 'arial black', sans-serif; color: #333399;"&gt; [Col_5] [varchar](255) NOT NULL,&lt;/SPAN&gt;
&lt;SPAN style="font-family: 'arial black', sans-serif; color: #333399;"&gt; [Col_6] [varchar](255) NOT NULL,&lt;/SPAN&gt;
&lt;SPAN style="font-family: 'arial black', sans-serif; color: #333399;"&gt; [Col_7] [varchar](255) NULL,&lt;/SPAN&gt;
&lt;SPAN style="font-family: 'arial black', sans-serif; color: #333399;"&gt; [Col_8] [int] NULL,&lt;/SPAN&gt;
&lt;SPAN style="font-family: 'arial black', sans-serif; color: #333399;"&gt;PRIMARY KEY CLUSTERED &lt;/SPAN&gt;
&lt;SPAN style="font-family: 'arial black', sans-serif; color: #333399;"&gt;(&lt;/SPAN&gt;
&lt;SPAN style="font-family: 'arial black', sans-serif; color: #333399;"&gt; [Col_1] ASC&lt;/SPAN&gt;
&lt;SPAN style="font-family: 'arial black', sans-serif; color: #333399;"&gt;)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],&lt;/SPAN&gt;
&lt;SPAN style="font-family: 'arial black', sans-serif; color: #333399;"&gt; CONSTRAINT [UK_1] UNIQUE NONCLUSTERED &lt;/SPAN&gt;
&lt;SPAN style="font-family: 'arial black', sans-serif; color: #333399;"&gt;(&lt;/SPAN&gt;
&lt;SPAN style="font-family: 'arial black', sans-serif; color: #333399;"&gt; [Col_2] ASC&lt;/SPAN&gt;
&lt;SPAN style="font-family: 'arial black', sans-serif; color: #333399;"&gt;)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]&lt;/SPAN&gt;
&lt;SPAN style="font-family: 'arial black', sans-serif; color: #333399;"&gt;) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]&lt;/SPAN&gt;
&lt;SPAN style="font-family: 'arial black', sans-serif; color: #333399;"&gt;GO&lt;/SPAN&gt;

&lt;SPAN style="font-family: 'arial black', sans-serif; color: #333399;"&gt;ALTER TABLE [dbo].[Table_1] WITH CHECK ADD CONSTRAINT [FK1] FOREIGN KEY([Col_8])&lt;/SPAN&gt;
&lt;SPAN style="font-family: 'arial black', sans-serif; color: #333399;"&gt;REFERENCES [dbo].[Table_2] ([Col_1])&lt;/SPAN&gt;
&lt;SPAN style="font-family: 'arial black', sans-serif; color: #333399;"&gt;GO&lt;/SPAN&gt;

&lt;SPAN style="font-family: 'arial black', sans-serif; color: #333399;"&gt;ALTER TABLE [dbo].[Table_1] CHECK CONSTRAINT [FK1]&lt;/SPAN&gt;
&lt;SPAN style="font-family: 'arial black', sans-serif; color: #333399;"&gt;GO&lt;/SPAN&gt;

I am attaching snapshot of online interface as well as Postman.&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 20:21:56 GMT</pubDate>
    <dc:creator>Muhammad_SaqibChaudhry</dc:creator>
    <dc:date>2021-12-11T20:21:56Z</dc:date>
    <item>
      <title>Fail to Add Feature</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/fail-to-add-feature/m-p/457464#M2146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to add feature into feature table using REST API call but facing the following error, both from online interface as well as Postman client.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #333399; font-size: 15px; font-family: 'arial black', sans-serif;"&gt;{&amp;nbsp; "error": {&amp;nbsp;&amp;nbsp; "code": 400,&amp;nbsp;&amp;nbsp; "message": "Unable to complete operation.",&amp;nbsp;&amp;nbsp; "details": [&amp;nbsp;&amp;nbsp;&amp;nbsp; "Rowbuffer creation failed."&amp;nbsp;&amp;nbsp; ]&amp;nbsp; } }&lt;/SPAN&gt;

My table structure is as following:
&lt;SPAN style="font-family: 'arial black', sans-serif; color: #333399;"&gt;CREATE TABLE [dbo].[Table_1](&lt;/SPAN&gt;
&lt;SPAN style="font-family: 'arial black', sans-serif; color: #333399;"&gt; [Col_1] [int] IDENTITY(1,1) NOT NULL,&lt;/SPAN&gt;
&lt;SPAN style="font-family: 'arial black', sans-serif; color: #333399;"&gt; [Col_2] [varchar](255) NOT NULL,&lt;/SPAN&gt;
&lt;SPAN style="font-family: 'arial black', sans-serif; color: #333399;"&gt; [Col_3] [geometry] NOT NULL,&lt;/SPAN&gt;
&lt;SPAN style="font-family: 'arial black', sans-serif; color: #333399;"&gt; [Col_4] [varchar](255) NULL,&lt;/SPAN&gt;
&lt;SPAN style="font-family: 'arial black', sans-serif; color: #333399;"&gt; [Col_5] [varchar](255) NOT NULL,&lt;/SPAN&gt;
&lt;SPAN style="font-family: 'arial black', sans-serif; color: #333399;"&gt; [Col_6] [varchar](255) NOT NULL,&lt;/SPAN&gt;
&lt;SPAN style="font-family: 'arial black', sans-serif; color: #333399;"&gt; [Col_7] [varchar](255) NULL,&lt;/SPAN&gt;
&lt;SPAN style="font-family: 'arial black', sans-serif; color: #333399;"&gt; [Col_8] [int] NULL,&lt;/SPAN&gt;
&lt;SPAN style="font-family: 'arial black', sans-serif; color: #333399;"&gt;PRIMARY KEY CLUSTERED &lt;/SPAN&gt;
&lt;SPAN style="font-family: 'arial black', sans-serif; color: #333399;"&gt;(&lt;/SPAN&gt;
&lt;SPAN style="font-family: 'arial black', sans-serif; color: #333399;"&gt; [Col_1] ASC&lt;/SPAN&gt;
&lt;SPAN style="font-family: 'arial black', sans-serif; color: #333399;"&gt;)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],&lt;/SPAN&gt;
&lt;SPAN style="font-family: 'arial black', sans-serif; color: #333399;"&gt; CONSTRAINT [UK_1] UNIQUE NONCLUSTERED &lt;/SPAN&gt;
&lt;SPAN style="font-family: 'arial black', sans-serif; color: #333399;"&gt;(&lt;/SPAN&gt;
&lt;SPAN style="font-family: 'arial black', sans-serif; color: #333399;"&gt; [Col_2] ASC&lt;/SPAN&gt;
&lt;SPAN style="font-family: 'arial black', sans-serif; color: #333399;"&gt;)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]&lt;/SPAN&gt;
&lt;SPAN style="font-family: 'arial black', sans-serif; color: #333399;"&gt;) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]&lt;/SPAN&gt;
&lt;SPAN style="font-family: 'arial black', sans-serif; color: #333399;"&gt;GO&lt;/SPAN&gt;

&lt;SPAN style="font-family: 'arial black', sans-serif; color: #333399;"&gt;ALTER TABLE [dbo].[Table_1] WITH CHECK ADD CONSTRAINT [FK1] FOREIGN KEY([Col_8])&lt;/SPAN&gt;
&lt;SPAN style="font-family: 'arial black', sans-serif; color: #333399;"&gt;REFERENCES [dbo].[Table_2] ([Col_1])&lt;/SPAN&gt;
&lt;SPAN style="font-family: 'arial black', sans-serif; color: #333399;"&gt;GO&lt;/SPAN&gt;

&lt;SPAN style="font-family: 'arial black', sans-serif; color: #333399;"&gt;ALTER TABLE [dbo].[Table_1] CHECK CONSTRAINT [FK1]&lt;/SPAN&gt;
&lt;SPAN style="font-family: 'arial black', sans-serif; color: #333399;"&gt;GO&lt;/SPAN&gt;

I am attaching snapshot of online interface as well as Postman.&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 20:21:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/fail-to-add-feature/m-p/457464#M2146</guid>
      <dc:creator>Muhammad_SaqibChaudhry</dc:creator>
      <dc:date>2021-12-11T20:21:56Z</dc:date>
    </item>
    <item>
      <title>Re: Fail to Add Feature</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/fail-to-add-feature/m-p/457465#M2147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Adjust table structure and register it with the geodatabase. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See &lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/manage-data/geodatabases/registering-a-table-with-the-geodatabase.htm" title="http://desktop.arcgis.com/en/arcmap/latest/manage-data/geodatabases/registering-a-table-with-the-geodatabase.htm"&gt;Register a table or view with the geodatabase—ArcGIS Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2018 15:08:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/fail-to-add-feature/m-p/457465#M2147</guid>
      <dc:creator>RamunasKraujutis</dc:creator>
      <dc:date>2018-02-06T15:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: Fail to Add Feature</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/fail-to-add-feature/m-p/457466#M2148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have figure out the problem. The issue is when we send the "addfeature" request to ArchGIS, its first create the dummy row and then update the values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my case one of my column has unique index so its not possible to insert two rows with empty data. So this is the issue when ArchGIS try to insert dummy row with empty value, it throws the Row creation buffer failed error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone explains me the this behavior of ArchGIS?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2018 08:13:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/fail-to-add-feature/m-p/457466#M2148</guid>
      <dc:creator>Muhammad_SaqibChaudhry</dc:creator>
      <dc:date>2018-02-07T08:13:08Z</dc:date>
    </item>
  </channel>
</rss>

