Hi Nixon, thanks for the response. I am still getting the same error

2017-12-06 18:43:27,508 ERROR - [pool-1-thread-6 -
> 0b9d94fa-c40a-4689-a106-28e00161d8ab:] ~ Error handling a request:
> 7cf35990f7e47cfc (ExceptionMapperUtil:32)
> javax.ws.rs.WebApplicationException
> at
> com.sun.jersey.server.impl.uri.rules.TerminatingRule.accept(TerminatingRule.java:66)
> at
> com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
> at
> com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)


Is it possible that sub-attributes within a classification don't work? I
would actually like to have that attribute type be an `array<enum>` but not
sure how to get it working with just a simple type.

Connie

On Wed, Dec 6, 2017 at 1:03 AM, Nixon Rodrigues <
[email protected]> wrote:

> Connie,
>
> Can you try this json as the body, I think to search on attribute needs to
> be added to in criterion attribute.
>
>  http://atlasUrl:21000/api/atlas/v2/search/basic method - post
>
> {
>     "excludeDeletedEntities": true,
>     "entityFilters": null,
>     "tagFilters": {
>       "criterion": [
>         {
>           "attributeName": "type",
>           "operator": "eq",
>           "attributeValue": "example"
>         }
>       ]
>     },
>     "attributes": [],
>     "limit": 25,
>     "offset": 0,
>     "classification": "PII"
>   }
>
>
> On Wed, Dec 6, 2017 at 11:50 AM, Connie Chen <[email protected]>
> wrote:
>
>> Hi Madhan, thanks for the fast response.
>>
>> I added the snippet of the application log that shows the stack trace
>> when I make the search request. https://gist.github.c
>> om/connie-stripe/597e087433869036e63e5d8363d61bd3#gistcomment-2277245
>>
>> I also added as much of the application log as I could in another file
>> https://gist.github.com/connie-stripe/597e087433869036e
>> 63e5d8363d61bd3#file-application-log
>>
>> Let me know if that helps, thanks!
>>
>> Connie
>>
>> On Tue, Dec 5, 2017 at 6:41 PM, Madhan Neethiraj <[email protected]>
>> wrote:
>>
>>> Connie,
>>>
>>>
>>>
>>> Thanks for the details provided on this issue. Classification definition
>>> and basic-search REST API call details look good. To troubleshoot further,
>>> can you add complete application.log file?
>>>
>>>
>>>
>>> Madhan
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> *From: *Connie Chen <[email protected]>
>>> *Reply-To: *"[email protected]" <[email protected]>
>>> *Date: *Tuesday, December 5, 2017 at 5:17 PM
>>> *To: *"[email protected]" <[email protected]>
>>> *Subject: *500 returns when I try to basic search
>>>
>>>
>>>
>>> Hi, I am new to using Atlas and I am testing out the API to create my
>>> data models. I've created a classification with a string attribute
>>> "dataType" where "isIndexable" is set to true. However, I cannot figure out
>>> how to query for a specific value via the API without getting a 500.
>>>
>>>
>>>
>>> Here is my configuration:
>>>
>>> https://gist.github.com/connie-stripe/597e087433869036e63e5d8363d61bd3
>>>
>>>
>>>
>>> This is the field I am indexing on: https://gist.github.com/co
>>> nnie-stripe/597e087433869036e63e5d8363d61bd3#file-gistfile1-txt-L22
>>>
>>>
>>>
>>> Here is the curl command I am running to try and retrieve a value where
>>> that attribute field is a specific value: https://gist.github.com
>>> /connie-stripe/597e087433869036e63e5d8363d61bd3#gistcomment-2277045
>>>
>>>
>>>
>>> Then I am getting these logs back: https://gist.github.com/
>>> connie-stripe/597e087433869036e63e5d8363d61bd3#gistcomment-2277047
>>>
>>>
>>>
>>> Am I doing something wrong? Is there an easier way to debug these sorts
>>> of errors? The stack trace hasn't been very helpful. Thanks!
>>>
>>>
>>>
>>> Connie
>>>
>>
>>
>

Reply via email to