Solved
Getting a 500 error when querying the KCS endpoint
Hello! I'm trying to query Guru's KCS endpoint to get all Zendesk tickets linked to a specific card. When I use the `cardId` query, I don't get anything back, and usually a 500 error. However, if I remove`cardId` it works, only I get ALL cards which is not what I want.
I've tried `cardId` using the slug (works when doing a call to search by ID but not KCS), and also using the card id property we get in the objects when calling KCS (this also gives me ALL cards).
Here's an example test in curl
curl -u UNAME:TOKEN https://api.getguru.com/api/v1/kcs?cardId=CARDID
This works though
curl -u UNAME:TOKEN https://api.getguru.com/api/v1/cards/CARDID/extended
Am I doing something wrong?
We're trialing Guru for issues and feedback, but we need a way to get all ZD tickets linked to a card for it to be of any use. The Spreadsheet Guru provides is cool, but while trying to introduce the `cardId` query, it's just giving me 500 errors even if the call is properly formatted.
Has anyone built something similar? I appreciate any input! :pray:
Best answer by Rob Miller
You can use Card Manager to export all cards to csv, then search that sheet. That might be a little bit easier if you're doing a lot of lookups.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.