Post

2 followers Follow
0
Avatar

Internal error using findUserQuery

Hi,

I'm using Clarizen API, to get some data for our external reporting purposes. I'm able to query table using data/query service, but data/findUserQuery does not work for me. Please find an error below:

{"errorCode":"Internal","message":"An internal error has occurred, the error was logged and will be examined.","referenceId":"2iPBhLfBJcNFuv2j7E3bCy"}

I use POST, parameters look as follows: {"fields": "DisplayName", "FirstName": "Lukasz"}. Can you provide some more information about this error?

Lukasz N Answered

Official comment

Avatar

Hi Lukasz,

Can you please share the end point that you are using (URL) and the date you got this error?

Thanks,

Elad

Elad Franklin
Comment actions Permalink

Please sign in to leave a comment.

3 comments

1
Avatar

Hi Lukasz,

I was able to reproduce the issue. The search is currently working when you supply the first and last name together.

This means that only this example will work for you:

{ 'firstName': 'John', 'lastName': 'Snow'}

 

Please open a ticket to our support team and we will handle it.

Thanks a lot for contacting regarding this issue.

Elad

 

 

Elad Franklin 1 vote
Comment actions Permalink
0
Avatar

Hi Elad,

You are right - using firstName and lastName it returns a proper record. What is strange - the respond from server containc at first message of 'unexpected error': 

Oops, an unexpected error occurred. The error was logged and will be examined. <br>The error id is: 2cMEa6dQlzgZefmzgpxAsI

and after the message there is a proper respond from server:

Oops, an unexpected error occurred. The error was logged and will be examined. <br>The error id is: 2cMEa6dQlzgZefmzgpxAsI{"entities":[{"id":"/User/XYZ","DisplayName":"XYZ","C_Chapter":{"id":"/XYZ"}}],"paging":{"from":1,"limit":100,"hasMore":false}}

Thank you very much for your help!

Lukasz

Lukasz N 0 votes
Comment actions Permalink