Hacker News new | ask | show | jobs
by cowsup 1036 days ago
I recorded using the demo on your homepage, and, after about a 35 second clip, I began processing.

After a few minutes of spinning, nothing changed, so I checked my browser's Console log (Safari) and saw:

    [Log] Transcribing audio... (recorder.js, line 10)
    [Error] Failed to load resource: the server responded with a status of 503 (Service Unavailable) (demo, line 0) https://talknotes.io/api/notes/demo
    [Error] Unhandled Promise Rejection: SyntaxError: The string did not match the expected pattern.
 (anonymous function) (talknotes.io:507)

Might want to ensure that there's proper error handling, so the user isn't stuck waiting forever if your API returns a 503 or similar response.