I've created an WebAPI to save data by a!writeRecords(by WebAPI creation wizard)
it worked fine when I test it by "TEST REQUEST" button, but when I call it by an Integrations, got error of
{"message":"Write request has failed","error":"The input \"Records\" refers to an invalid record type. The record type does not exist, has been deleted, or the user does not have sufficient privileges to access the data."}
I have create a Service Account, add SA to the security config with Administrator permission, to all objects, include WebAPI, RecordType
Also add the API Key(Appian-API-Key) to Connected System.
Can anyone help me?
Discussion posts and replies are publicly visible
First, providing admin permissions to a service account is probably not a good idea.
Did you check the tomcat-stdout log file for any details?
Did you check permissions of the connected system used in the record data source?
How to check permissions of the connected system used in the record data source?
That record uses some sort of data source. Probably the MariaDB aka Cloud Database. The connection to it is defined using a connected system object.
Find the general info about record security here: https://docs.appian.com/suite/help/23.4/appian-records-security.html
And connected system security here: docs.appian.com/.../Connected_System_Object.html