Skip to content
Voiceflow API: "Una...
 
Notifications
Clear all

Voiceflow API: "Unauthorized" (401) Error with Active Pro Subscription and API Key

3 Posts
2 Users
0 Reactions
5 Views
Michal_Splho
(@michal_splho)
Posts: 2
New Member
Topic starter
 

Hello everyone! I'm encountering a 401 Unauthorized error while attempting to link my Voiceflow assistant to a Telegram bot using Glitch and the Dialog Manager API ( https://general-runtime.voiceflow.com/... ).

I've confirmed the following:

:white_check_mark:

I have a Pro subscription.

:white_check_mark:

I've generated a Dialog Manager API key (VF.DM.XXXX...) directly from the Integrations tab of the correct project.

:white_check_mark:

My project is not set to Private.

:white_check_mark:

The VOICEFLOW_VERSION_ID and endpoint precisely match the project.

:white_check_mark:

I have tried regenerating the API key, promoted it to Primary, and re-tested.

:white_check_mark:

The Curl command is formatted correctly:

curl -X POST https://general-runtime.voiceflow.com/state/680fd1e068f7e890f0a9bae8/user/test-user/interact
-H “Authorization: Bearer VF.DM.xxxxx”
-H “Content-Type: application/json”
-d ‘{“action”: {“type”: “text”, “payload”: “hello”}}’

but I consistently receive:

{“statusCode”:401,“message”:“Unauthorized”}

Could anyone suggest potential causes for this? Are there any known issues with project linking, API key validity, or the API backend?

Initially, I attempted to set up a scenario using callin.io, which yielded the same result and error message. Subsequently, I tried connecting Voiceflow with Telegram via Glitch. There might be an aspect of Voiceflow I'm overlooking, or perhaps something else.

Thank you in advance for any assistance!

 
Posted : 30/04/2025 5:00 pm
samliew
(@samliew)
Posts: 293
Reputable Member
 

Hello,

This does not appear to be a callin.io question. Perhaps you could try asking on the Voiceflow forum or reaching out to Voiceflow support.

If you require additional assistance, please provide the following:

1. Relevant Screenshots

Could you please share screenshots and screen recordings of your workflow? Please also include screenshots of any error messages, module settings (fields), relevant filter settings (conditions), and module output bundles. We need to see your setup to offer the best guidance.

You can upload images here using the Upload icon in the text editor:

Sharing these details will help others assist you more effectively.

 
Posted : 01/05/2025 6:25 am
Michal_Splho
(@michal_splho)
Posts: 2
New Member
Topic starter
 

Hello,

I initially attempted to create a callin.io scenario to link Telegram with a Voiceflow agent and encountered the same error. It appears there's an issue with authorization that's also not working in callin.io. I'm hoping someone here might have insights into this problem, as the Voiceflow forum hasn't provided any solutions. I've attached screenshots of the callin.io scenario and the error message.

 
Posted : 01/05/2025 8:10 am
Share: