Appian Community and Appian Academy are being upgraded. From July 24–August 3, the Appian Community will be in read-only mode. During this time, the site will be read-only and user registration will be disabled. We apologize for any inconvenience this may cause, but a more secure, stable, and performant Community experience is coming soon!
The new Appian Community launches August 3, followed by Appian Academy on August 7. During the migration, Appian Community Edition, Appian Academy, Documentation, Certifications, Instructor-led Customer Training, Partner Sales Training & Accreditation, and Forum (for Appian Partners and Customers only) will remain available.
Can anyone please check this error?
Discussion posts and replies are publicly visible
You may need to check your tomcat-stdOut.log file here for additional details.
I'm new bee to Appian,Not understanding this logs,
... 66 more Caused by: java.sql.SQLException: Field 'loanid' doesn'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
Yes the Caused By section is what we are looking for. In this case, it is indicating the "loanid" field does not have a value, but it is expecting one. If this is an ID field, it may not be set to auto-generate the value. 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.
If you see here, I'm passing loanId value also
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.
Yeah Chris,
I have mistaken that I given auto_increment in cdt for loanId.Thank you so much Chris.