Troubleshooting ZincCloud API for Search Requests

TLDR Edicius is having issues making Search API requests using ZincCloud, and Prabhat informed that it is only possible with ingestion API endpoints but will be available soon.

Photo of Edicius
Edicius
Tue, 18 Apr 2023 18:32:23 UTC

Hello, I was wondering if it's possible to make search api requests with ZincCloud or is it only possible with ZincObserve, I'm asking because I'm having trouble with the authorization, which is working fine in my own environment, but not with cloud. In cloud I'm getting "Error: Authentication failed - invalid token: token contains an invalid number of segments", even though I've tried the password on the Ingestion tab and my own account password. What could be the problem?

Photo of Prabhat
Prabhat
Tue, 18 Apr 2023 21:39:55 UTC

Currently in Zinc Cloud API calls are possible only for ingestion API endpoints. We are working on getting other API endpoints to work in Zinc Cloud and it should be possible to make API calls soon.

Photo of Prabhat
Prabhat
Tue, 18 Apr 2023 21:41:22 UTC

What are you trying to achieve?

Photo of Edicius
Edicius
Tue, 18 Apr 2023 22:46:58 UTC

oh good to know, thanks! I'm trying to fetch data from a stream via the search api

Photo of Prabhat
Prabhat
Tue, 18 Apr 2023 22:47:14 UTC

what kind of log data is it? What are you trying to achieve?

Photo of Edicius
Edicius
Wed, 19 Apr 2023 00:47:34 UTC

I'm logging an email database, with it I'm attempting to fetch its logs, that's why I was trying the Cloud api

Photo of Prabhat
Prabhat
Wed, 19 Apr 2023 01:51:16 UTC

got it. Stay tuned. We will respond back here after making it work.

Photo of Edicius
Edicius
Wed, 19 Apr 2023 02:57:37 UTC

nice, thanks for your help!