AnsweredAssumed Answered

Fail to Add Feature

Question asked by saqi0333 on Feb 4, 2018
Latest reply on Feb 7, 2018 by saqi0333

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.

 

{  "error": {   "code": 400,   "message": "Unable to complete operation.",   "details": [    "Rowbuffer creation failed."   ]  } }

My table structure is as following:
CREATE TABLE [dbo].[Table_1](
[Col_1] [int] IDENTITY(1,1) NOT NULL,
[Col_2] [varchar](255) NOT NULL,
[Col_3] [geometry] NOT NULL,
[Col_4] [varchar](255) NULL,
[Col_5] [varchar](255) NOT NULL,
[Col_6] [varchar](255) NOT NULL,
[Col_7] [varchar](255) NULL,
[Col_8] [int] NULL,
PRIMARY KEY CLUSTERED
(
[Col_1] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY],
CONSTRAINT [UK_1] UNIQUE NONCLUSTERED
(
[Col_2] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO

ALTER TABLE [dbo].[Table_1] WITH CHECK ADD CONSTRAINT [FK1] FOREIGN KEY([Col_8])
REFERENCES [dbo].[Table_2] ([Col_1])
GO

ALTER TABLE [dbo].[Table_1] CHECK CONSTRAINT [FK1]
GO

I am attaching snapshot of online interface as well as Postman.

Attachments

Outcomes