BigCommerce Insert Issue
Posted: Sat 18 Aug 2018 14:46
We receive an error when trying to execute the following SQL in OAUTH. It works fine in Basic Authentication.
insert into optionsetsoptions (optionid, optionsetid, displayname, sortorder, isrequired) values(2116,1395,'COLOR',0,true)
It does trigger an exception, however the exception message is blank.
exception {""} Devart.Data.Bigcommerce.BigcommerceException
Source "Devart.Data.SqlShim"
Stack Trace Devart.Data.SqlShimCommand.InternalExecute(CommandBehavior behavior, IDisposable stmt, Int32 startRecord, Int32 maxRecords)" & vbCrLf & " at Devart.Common.DbCommandBase.InternalExecute(CommandBehavior behavior, IDisposable stmt, Int32 startRecord, Int32 maxRecords, Boolean nonQuery)" & vbCrLf & " at Devart.Common.DbCommandBase.ExecuteDbDataReader(CommandBehavior behavior, Boolean nonQuery)" & vbCrLf & " at Devart.Common.DbCommandBase.ExecuteDbDataReader(CommandBehavior behavior)" & vbCrLf & " at Devart.Common.DbCommandBase.ExecuteScalar()" & vbCrLf & " at BigCommerceLibrary.BCConnect.InsertedData(String Query) in BigCommerceLibrary\BigCommerceLibrary\BCConnect.vb:line 398"
We have also tried this with SkyVia and the OAUTH doesn't work however the basic authentication does there as well.
We can insert into other tables as expected with both OAUTH and Basic with our code and on Skyvia.
Can you give me some advice on how to correct this error?, This keeps us from being able to add new product that have SKU's since we cant add the options values.
insert into optionsetsoptions (optionid, optionsetid, displayname, sortorder, isrequired) values(2116,1395,'COLOR',0,true)
It does trigger an exception, however the exception message is blank.
exception {""} Devart.Data.Bigcommerce.BigcommerceException
Source "Devart.Data.SqlShim"
Stack Trace Devart.Data.SqlShimCommand.InternalExecute(CommandBehavior behavior, IDisposable stmt, Int32 startRecord, Int32 maxRecords)" & vbCrLf & " at Devart.Common.DbCommandBase.InternalExecute(CommandBehavior behavior, IDisposable stmt, Int32 startRecord, Int32 maxRecords, Boolean nonQuery)" & vbCrLf & " at Devart.Common.DbCommandBase.ExecuteDbDataReader(CommandBehavior behavior, Boolean nonQuery)" & vbCrLf & " at Devart.Common.DbCommandBase.ExecuteDbDataReader(CommandBehavior behavior)" & vbCrLf & " at Devart.Common.DbCommandBase.ExecuteScalar()" & vbCrLf & " at BigCommerceLibrary.BCConnect.InsertedData(String Query) in BigCommerceLibrary\BigCommerceLibrary\BCConnect.vb:line 398"
We have also tried this with SkyVia and the OAUTH doesn't work however the basic authentication does there as well.
We can insert into other tables as expected with both OAUTH and Basic with our code and on Skyvia.
Can you give me some advice on how to correct this error?, This keeps us from being able to add new product that have SKU's since we cant add the options values.