Is there a way to see whether a callback has been called via the usage log? #100
-
Hi all, I have just started playing around and have stumbled upon an issue I cannot debug. I am using the API and have been able to make requests via the transcription endpoint synchronously (for relatively small files), but had to move to doing this asynchronously when I tried larger wav files. To use the callback functionality, I am using pipedream.com to provide me with an endpoint. First, I tested this with some small files and it worked perfectly. But when I tried files over 100MB, the processing appears to take place (according to the usage log), but there is no evidence of the callback url being called. I see no evidence of this in piperdream.com and cannot tell from the usage log in Deepgram whether the callback url has actually been called. This could very well be an issue with pipedream.com, but I cannot see whether the callback url has definitely been called and if so, what time it was called. Am I missing something here, or is this data not currently provided? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hi @rilhia. You're right that Deepgram doesn't record the callback attempts in the usage logs within the Deepgram Console. That might be a great addition to the product! Here are two thoughts to consider for your debugging:
|
Beta Was this translation helpful? Give feedback.
-
@rilhia Like @jviso said, that is a good suggestion for an addition to the Usage Logs. I'll bring it up to the team! |
Beta Was this translation helpful? Give feedback.
Hi @rilhia. You're right that Deepgram doesn't record the callback attempts in the usage logs within the Deepgram Console. That might be a great addition to the product!
Here are two thoughts to consider for your debugging:
nc
andngrok
in separate terminal sessions, e.g.nc -l -p 5000
in one session andngrok http 5000
in another; then, provide thengrok
URL as the argument to thecallback
parameter when calling the Deepgram API.