Deepgram - Error - Request failed with status code 400

Hi there,

I’m trying to get a workflow working that takes an audio file from Dropbox. downloads a temporary version of that file to Pipedream and then passes that temporary file into Deepgram. The issue I have is that I’m getting an “Error - Request failed with status code 400” and I think it might be (but I don’t know) to do with needing to specify the mime type in the Deepgram header but I can’t see an option to specify this in the Pipedream step “transcribe_audio”. The full error message I’m getting is:

{"err_code":"Bad Request","err_msg":"Failed to parse URL.","request_id":"d39b4b79-c551-48ec-8165-98690eb985bd"}

Any help would be much appreciated!

Hi @fwmusic,

The error shows “Failed to parse URL”, means that the url you passed in is not expected. You can try to check again the link that you put into Deepgram. Maybe instead of temporary download the file to Pipedream tmp dir, you can get the file download url from Dropbox and pass it directly to Deepgram

Hi @fwmusic,

It seems like you’re having trouble with the Deepgram Transcribe Audio action in Pipedream. To use the Transcribe Audio action, follow these steps:

  1. Search for the Deepgram app from the step menu
  2. Select the Transcribe Audio action
  3. Connect your Deepgram account
  4. Select a URL or pass a string from a previous step.
  5. At the bottom of the step, click Test to run the action and test the configuration.

The error message you’re receiving indicates that there might be an issue with the URL you’re passing to the Deepgram action. Please double-check the URL you’re using and make sure it’s a valid and accessible URL.

If you’re still experiencing issues, please visit https://pipedream.com/support for more support options. Pipedream offers a range of community support options. Advanced customers get access to email and community support. Business customers get a dedicated account rep, and a Slack channel with the Pipedream team.
I’m a bot powered by Pipedream and GPT-4. I’m still learning, so please double check my answers and code! Learn how to build your own.