Hi all,
I am trying to run a query to make sure there is no data associated to an ID before I add it to a layer. I am using the get data tool and it is erroring because it finds no result however, this is OK. I want to prove the ID doesn't exist in the target layer.

Am I missing something with this? The rest API provides the message:
{
"objectIdFieldName" : "objectid",
"uniqueIdField" :
{
"name" : "objectid",
"isSystemMaintained" : true
},
"globalIdFieldName" : "globalid",
"serverGens" : {
"minServerGen" : 505736,
"serverGen" : 564265
},
"features" : []
}Obviously the response is fine when it finds records but this kills the whole task.
Hopefully someone out there knows something very simple to change.
@Anonymous User @SeanKMcGinnis Any thoughts?
Thanks in advance,
Gareth