<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Error in write to multiple data store entities.</title><link>https://community.appian.com/discussions/f/new-to-appian/25545/error-in-write-to-multiple-data-store-entities</link><description>Can anyone please check this error?</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Error in write to multiple data store entities.</title><link>https://community.appian.com/thread/99655?ContentTypeID=1</link><pubDate>Wed, 17 Aug 2022 16:47:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4d0b9eae-a567-4733-8fe7-27c07496ef95</guid><dc:creator>shukurs0001</dc:creator><description>&lt;p&gt;Yeah Chris,&lt;/p&gt;
&lt;p&gt;I have mistaken that I given auto_increment in cdt for loanId.&lt;br /&gt;Thank you so much Chris.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error in write to multiple data store entities.</title><link>https://community.appian.com/thread/99651?ContentTypeID=1</link><pubDate>Wed, 17 Aug 2022 16:40:21 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4460a268-c39f-4ebd-9a8a-8d782910e3f0</guid><dc:creator>Chris</dc:creator><description>&lt;p&gt;From here we would need to review the CDT and then the Write to Datastore service configuration, if you could share those it would be helpful.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error in write to multiple data store entities.</title><link>https://community.appian.com/thread/99648?ContentTypeID=1</link><pubDate>Wed, 17 Aug 2022 16:35:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:09b4a210-1668-4dd7-8590-0d5f30029ba4</guid><dc:creator>shukurs0001</dc:creator><description>&lt;p&gt;If you see here, I&amp;#39;m passing loanId value also&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/62/pastedimage1660754496516v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error in write to multiple data store entities.</title><link>https://community.appian.com/thread/99646?ContentTypeID=1</link><pubDate>Wed, 17 Aug 2022 16:25:12 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e5ede36b-2ef9-4c9e-99bb-44f88ae78331</guid><dc:creator>Chris</dc:creator><description>&lt;p&gt;Yes the Caused By section is what we are looking for.&amp;nbsp; In this case, it is indicating the &amp;quot;loanid&amp;quot; field does not have a value, but it is expecting one.&amp;nbsp; If this is an ID field, it may not be set to auto-generate the value.&amp;nbsp; Otherwise, if this is a normal not-null field, you will need to provide a value when writing to the DS or adjust the CDT/DB to allow nulls.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error in write to multiple data store entities.</title><link>https://community.appian.com/thread/99645?ContentTypeID=1</link><pubDate>Wed, 17 Aug 2022 16:14:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:54c1f8e9-b957-408c-bfde-cdcbe4aef0e6</guid><dc:creator>shukurs0001</dc:creator><description>&lt;p&gt;I&amp;#39;m new bee to Appian,&lt;br /&gt;Not understanding this logs,&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;pre&gt;	... 66 more
Caused by: java.sql.SQLException: Field &amp;#39;loanid&amp;#39; doesn&amp;#39;t have a default value
	at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.readErrorPacket(AbstractQueryProtocol.java:1695)
	at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.readPacket(AbstractQueryProtocol.java:1557)
	at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.getResult(AbstractQueryProtocol.java:1520)
	at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.executeQuery(AbstractQueryProtocol.java:318)
	... 67 more&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error in write to multiple data store entities.</title><link>https://community.appian.com/thread/99644?ContentTypeID=1</link><pubDate>Wed, 17 Aug 2022 16:08:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2c6e269a-11fa-4737-835a-f0dbd7cc7e1a</guid><dc:creator>Chris</dc:creator><description>&lt;p&gt;You may need to check your tomcat-stdOut.log file here for additional details.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>