Skip to content

DeepgramApiError is not in the python SDK #461

Description

@ayhuang

What is the current behavior?

I am trying to implement error handling in our code that invokes the python SDK function deepgram.listen.rest.v("1").transcribe_url_callback(). I am getting a DeepgramApiError exception. But I can't find that on the list of errors in the SDK (v3.4) source, and no documentation anywhere either. How am i supposed to catch that?

Steps to reproduce

use a bogus API key

Expected behavior

Please tell us about your environment

aws lambda, Python 3.12 deepgram 3,4

Other information

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions