Appsheet Api Find Error

Hello everyone, I was trying to do a simple “Find” on a table in my app. The POST is successful, but nothing is returned.  I am experiencing an error that i don't know how to fix. The error is highlighted below in my Audit log error details. 

 

-------- The url that am using

https://api.appsheet.com/api/v2/apps/
f6209b92-d961-4a59-1001-9769b065e870
/tables/Items/Action'

------- My header

my_headers = {
'contentType': 'application/json',
'ApplicationAccessKey' : access_key
}

 

-------- My POST body

payload = {
"Action": "Find",
"Properties": {"Locale": "en-US",},
"Rows": []
}

 

-------- My Audit Log details

REST API:

{ "Action": "Find",

"Properties": {},

"Rows": []

}

Properties: {

"RestAPIVersion": 2,

"TableName": "Items",

"AppTemplateVersion": "1.000021",

"Action": "Find",

"Errors": "API 'Properties' does not have unexpected Type of 'JObject'. Value is: '{\r\n \"Action\": \"Find\",\r\n \"Properties\": \"Locale\"\r\n}'",

"AppTemplateName": "f6209b92-d961-4a59-9006-9769b065e870",

"Operation": "REST API invoke",

"RecordType": "Start",

"Result": "Failure"

}

 

Any help will be appreciated. 

 

 

0 2 183
2 REPLIES 2

Welcome to the community!

In your JSON, try removing the coma highlighted in red below:

"Properties": {"Locale": "en-US",},

I have the same issue, did anyone have the solution to this ?
thx

Top Labels in this Space