How to Write and Retrieve a Temporary Binary File With Node Js?

Issue I am working with Google Text To Speech (TTS) in order to save a generated binary audio file to Google Cloud Storage (GCS). Saving a local binary file does not seem like a good idea in the...

Including Async Function Within Firebase Cloud Functions (eslint "Parsing error: Unexpected token function")

Issue How can an async helper method be added to a Cloud Functions' index.js file? An async function is required in order to use await when converting fs.writefile into a Promise as explained in...

Save an audiofile from Google Text-to-Speech to Firebase Storage using Google Cloud Storage?

We're trying to get an audiofile from Google Text-to-Speech and save it to Firebase Storage, using a Google Cloud Function. The documentation for Google Text-to-Speech show how to get an audiofile...

ModuleNotFoundError: No module named 'google.cloud'

I'm looking to use the Google "cloud text to speech" api, and I'm having the common problem of the module not being found. I've tried the solutions that most people have, only problem being that I...

How to fix "Could not find policy 'pick_first'" with Google TTS java client?

I can't make a request using Google TTS Client library in java. Each time it throws a bunch of exceptions. I just try to get a list of available voices. GoogleCredentials creds = null; ...

Malformed Ressponse: Webhook error on getting response from dialogflow web hook

I'm calling the AWS Lambda repo using AWS CloudAPI for the fulfilment of Actions on Google(AoG). Everything works fine using actions-on-google NodeJS client except the error when which arises...

Suddenly getting intermittent error "Failed to parse Dialogflow response into AppResponse : null"

I've suddenly recently started seeing errors like "Failed to parse Dialogflow response into AppResponse : null" on Actions On Google/Dialogflow projects that previously worked ok. Even now, the...

Duplicate Class while using firebase and google-cloud-texttospeech

I am having an android project using firestore, firebase-auth and FCM . Now when I am adding google-cloud-texttospeech to my project I am getting 'Duplicate class' error Here is my...

React gives Error: not supported error when I try and import local module

I have a local module (speech.js) in my create-react-app src folder that is the google text to speech code on their website. I adjusted it to be an arrow function and use that specific export...

Can't create audio data with Google cloud-text-to-speech using php client library. Where am I going wrong?

I have used the quickstart instructions on: https://cloud.google.com/text-to-speech/docs/quickstart-client-libraries#client-libraries-install-php to set up a Google Cloud Platform project on...

Add Google service credentials to Android App for connect Google Cloud

In my app I need to use Google Cloud Text to Speech. I add sdk via gralde implementation 'com.google.cloud:google-cloud-texttospeech:0.100.0-beta'. After that i am not understanding how to...

Why does this fulfillment code for Dialogflow does not work?

I am playing around a bit with the Dialogflow. As I was trying to figure out the options in the responses, I also wanted to test if Dialogflow has dynamic response. For example, fetch a data from...

How to fix inconsistent reading of <audio> tags for soundfx in Text-to-speech file

I have been using Google Text-to-Speech API to read aloud posts from Reddit. This has been successful thus far until I tried to add a 'click' sound effect to break up major posts. Because of the...

Google cloud texttospeech only works on first string in a list

The limit for the size of a string seems to be 5000 characters. I know this because I tried a larger string but I got back the error message that said size limit is 5000 characters. This makes...

gRPC doesn't work on a raspberry Pi (armv7l)

tl:/dr: gRPC stalls the cloud api on a raspberry pi. I am led to believe this because Google Firebase works (doesn't use gRPC), but Google Firestore and Google TextToSpeech stalls (both use gRPC),...

Airflow Dag Run Stalls Mid-Run

I have setup airflow v1.10.6 on ubuntu, using python 3.6.8. and have written a simple practice dag that runs a set of 30 parallel tasks. I'm triggering the dag through the UI as this will be run...

Make a website converting text to audio [Google Cloud Text to Speech API]

I'm a beginner in coding. I would like to make a simple website using Google Cloud Text to Speech API. a web site with a text box you write a text in the text box and click a button "convert to...

How to make a web app download mp3 file automatically [Flask on Google App Engine]

I'm a beginner in coding. I would like to make a simple web application using Google Cloud Text to Speech API. a web site with a text box you input a sentence in the text box and click a button...

Bazel googleapi gRPC cc_grpc_library output was not created

I am running into Bazel build issues when I try to build googleapis texttospeech_proto and speech_proto with gRPC service. In the root directory of my project, I receive the following...

Dialogflow webhook response is not being sent to Twilio - Getting 14103 Invalid Body error on Twilio debugger

I am implementing a chat bot that is integrated with WhatsApp via Twilio. The bot is on V2 API and I have implemented the integrations on Google cloud as they would be shut. When I trigger the bot...

Error while using google texttospeech : Could not find TLS ALPN provider; no working netty-tcnative, Conscrypt, or Jetty NPN/ALPN available

Getting the following exception while using GGoogle Text to Speech API, java.lang.IllegalStateException: Could not find TLS ALPN provider; no working netty-tcnative, Conscrypt, or Jetty NPN/ALPN...

How to download file from Cloud Storage [Firebase Hosting]

I would like to make a web app using Firebase Hosting. make audio file using Cloud text to speech API upload that audio file to Cloud Storage download that audio file from Cloud Storage to a web...

Is it possible to play audio on local computer from a flask app in Google Cloud Engine?

I am trying to create an website where users can input text, and the text will be read out on my local machine. To achieve this, I have used a simple Flask app with Google cloud text to speech,...

Difficulty accessing Google Text-to-Speech API from within Flask app

I am having difficulties accessing Google's texttospeech Python API from within a Flask app. The app is running in a container with Debian 10, Nginx/Gunicorn, and Python 3.7 installed. In the code...

How to install "Cloud Text-To-Speech" with Gradle?

I would like to use Cloud Text-To-Speech. On the documentation page I see that I have to install the client library. On that page you see the code for Maven but in my Android Studio, I am using...

"Unable to import module 'lambda_function': libasound.so.2: cannot open shared object file: No such file or directory",

I have created a lambda layer with the following python packages using pip3: google-cloud-texttospeech and azure-cognitiveservices-speech When I use this layer with python3.8 lambda function, I...

Invalid JWT when trying to use google cloud Text-to-Speech API

I have followed this really simple guide: https://cloud.google.com/text-to-speech/docs/quickstart-client-libraries?hl=en I have found no problems following the steps with python, but when I...

Using apache-airflow-providers-snowflake on airflow (no module named Snowflake)

I have installed package apache-airflow-providers-snowflake on airflow on docker and i am getting error No module named Snowflake Please refer attachment (check the error mentioned for the...

import error after upgrade to airflow2.0.2

Received an import error after upgrading to airflow2.0.2-python3.7 image. Package seems to be installed, not sure what is causing the issue and how to fix it. Tried to uninstalling and...

Google Cloud Text-to-Speech to read output data file and output the speech in media player through Node.js API

I am trying to create a text to speech audio file using Google texttospeech Wavenet voices. At the same time I want the device speakers to output the speech. In other words, as the mp3 file is...