Giter VIP home page Giter VIP logo

Comments (9)

nicolodiamante avatar nicolodiamante commented on June 19, 2024

Hi, @wildenrou

Thank you for reaching out and sharing the details of the issue you're encountering with the shortcut. I'm sorry to hear about the inconvenience this has caused.

Based on the error message and the screenshots you've provided, it seems likely that the issue might be related to the API configuration, especially with ElevenLabs. If you're using a free account with ElevenLabs, there's a possibility that you might have exceeded the available character limit, which could lead to such errors.

Here's what I recommend:

  1. Check Your ElevenLabs API Usage:

    • Log into your ElevenLabs account and check if you have exceeded the character limit for your free account. If you have, you might need to wait for the limit to reset or consider upgrading your account for more usage.
  2. Verify API Keys:

    • Ensure that the API keys for both OpenAI and ElevenLabs are correctly entered in the shortcut settings.
    • For OpenAI, retrieve your API key from the OpenAI website under your account settings.
    • For ElevenLabs, do the same on their website.

In the meantime, I have released a new update that might also help resolve this issue. You can download it from the following link: here, or find it in the "Read Me" page on our GitHub repository. After verifying and updating the API keys, and ensuring your usage limits are in check, please try running the shortcut again.

If the problem persists after these steps, please let me know.

from dispatch.

wildenrou avatar wildenrou commented on June 19, 2024

Thanks very much @nicolodiamante ! I will try the proposed fix and the new version this eveninig and will let you know if it resolves the issue. Cheers!

from dispatch.

wildenrou avatar wildenrou commented on June 19, 2024

@nicolodiamante I verified and completed all the above steps your proposed. My API keys and accounts are working and in order, the API keys are properly entered into the settings and I tried again with the new version of the shortcut linked in your last response. Still getting the same error at the same step of the shortcut run. PLease let me know if you have other fix for this. Thanks again very much for your help!

from dispatch.

nicolodiamante avatar nicolodiamante commented on June 19, 2024

Hi @wildenrou,

Thank you for the update. We must pinpoint where the error is happening. Based on your previous messages, we need to verify each step in your API call setup.

Here’s the critical section where the error seems to be occurring: Please review the configuration in this section closely. Check the API URL, Headers, and especially the API Key variable to ensure there are no extra spaces or incorrect values.

Error Section

To aid in diagnosing the issue could you provide further screenshots showing the entire flow, especially the point where it fails?

Additionally, confirm every field is filled accurately in the setup process. An overlooked space or character can sometimes cause unexpected errors.

Your patience is greatly appreciated as we work through this.

from dispatch.

JoPadOfficiel avatar JoPadOfficiel commented on June 19, 2024

Hello community,

I hope you are doing well. I am reaching out for assistance with a persistent technical issue related to the "Wake Me Up" shortcut. The error I'm encountering is "Conversion Error - Get Dictionary failed because Shortcuts couldn't convert from Media to Dictionary". Despite my efforts and reviewing various forums and tickets, no solution has resolved the problem. I have tried with the August, November, and the latest current versions, but the issue persists.

Here is a summary of the steps I have taken so far:

Checking ElevenLabs API Usage:

  • I verified the status of my ElevenLabs account to see if I had exceeded the character limit allowed for the free account. - However, I have not reached the limit, even after creating several different accounts.

Verification of API Keys:

  • API keys for OpenAI and ElevenLabs were correctly entered in the shortcut settings.
  • I retrieved my OpenAI API key from the OpenAI website in my account settings.
  • I did the same on the ElevenLabs website.

Verification of API URL:
I carefully examined the API URL, and I did not detect any errors on my part.
Despite these checks, the problem persists. The history of my ElevenLabs account indicates that the shortcut correctly generates messages from ChatGPT and performs text-to-speech with the chosen voice.

Capture d’écran 2024-01-11 à 22 52 21

However, the final conversion to obtain audio output on the device consistently fails. I even tried disabling ElevenLabs and opting for the OpenAI text-to-speech, which works correctly. Unfortunately, I cannot replicate this success with ElevenLabs enabled.

Capture d’écran 2024-01-11 à 23 00 58

If anyone has suggestions to resolve this situation or has encountered a similar issue, I would be extremely grateful for any assistance you could provide.

Audio generation history with the voice chosen in the shortcut on my ElevenLabs (account free) :

Capture d’écran 2024-01-11 à 22 44 02

Thank you in advance for your valuable help!

Best regards,

from dispatch.

nicolodiamante avatar nicolodiamante commented on June 19, 2024

Hi @JoPadOfficiel,

Could you guide me step-by-step through the entire setup process for the shortcut? I want to thoroughly understand each setting to determine if there's anything within the setup that might be causing the error. Your detailed walkthrough would be incredibly helpful in pinpointing any potential issues. Thank you!

from dispatch.

JoPadOfficiel avatar JoPadOfficiel commented on June 19, 2024

Hello @nicolodiamante, I hadn't received the GitHub notification about your feedback. I'm responding to you now.

Here is the complete configuration of "Wake Me UP." Firstly, in the first video, you'll find the entire setup of the shortcut. I use the Data Jar application to access API keys. As shown in the video, I had to remove the "Decode value with base64" variables for the shortcut to accept the API keys from ChatGPT and ElevenLabs. Then, in the video, I realized I had forgotten to change the ElevenLabs API key, and I corrected it live. However, the issue persists with the message "**Conversion Error - Get Dictionary failed because Shortcuts couldn't convert from Media to Dictionary.**"

https://mega.nz/file/nVcEjTCQ#UmJ-BaEMMx9KYLzHog4JrNXlorMHnIGPJk0XEAauqlQ

In the second video, I tried in "monolanguage" mode, but unfortunately, it didn't resolve the error.

https://mega.nz/file/vZFDwaLI#F2VrtL4vu3IHEbeT0ADWluxXZEfK3e7ZkpG-M0DCT9w

Finally, in the third video, to demonstrate that the problem truly stems from text retrieval, I showcase it with ChatGPT's voice, and it works perfectly.

https://mega.nz/file/ONdEhaTT#AwLqjPu_SwOblzRE5npp0_DpnRWsDtmorZocv18v0jY

I want to clarify that I'm using the free version of ChatGPT, as well as the free version of ElevenLabs. When I run out of credits to generate a voice, I create a new account. Also, thanks to Apple for the "Hide My Email" feature, which allows generating as many emails as needed.

Device: iPhone 15 Pro Max (iOS version 17.2.1).

Here is the screenshot of the history of the three generations with the voice "Adam" on ElevenLabs. Thanks for resolving the issue.

Capture d’écran 2024-01-26 à 17 02 18

Best regards,

from dispatch.

games906 avatar games906 commented on June 19, 2024

I am also having the same issue! At first it was slightly different error as the voice model I selected hadn’t been added to the shortcut list of voices with its unique ID code. After resolving that, I ran into the identical media error above. The data is successfully collected, sent to OpenAI and ElevenLabs, and even converted, but it doesn’t make it back to my phone and instead am given the “ Conversion Error - Get Dictionary failed because Shortcuts couldn't convert from Media to Dictionary.” Almost there!!

from dispatch.

games906 avatar games906 commented on June 19, 2024

Is it possible elevenlabs have changed their api delivery? It seems they’ve done renovations on various features in the past months so it’s possible.

from dispatch.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.