tall-butcher-30509
05/18/2023, 8:31 AM{query : searchAcrossEntities(input: {query: "<our custom property>=<value>"}) { searchResults { entity { ... on Dataset { urn } } } } }
But when I try to send the same query via axios I get an error from datahub
JSON:
const requestData = {
"query" : `searchAcrossEntities(input: {query: "<our custom property>=${value}"}) { searchResults { entity { ... on Dataset { urn } } } } `
}
Error:
[{"message":"Invalid Syntax : offending token 'searchAcrossEntities' at line 1 column 1","locations":[{"line":1,"column":1}],"extensions":{"classification":"InvalidSyntax"}}]
tall-butcher-30509
05/19/2023, 1:23 AMconst requestData = {
"query" : `query { searchAcrossEntities(input: {query: "<our custom property>=${value}"}) { searchResults { entity { ... on Dataset { urn } } } } }`
}