I am working on the speech to text process for audio file. I am using google API to convert calls into text. For the conversion process I am using google cloud storage but I am getting the error i.e. "Could not automatically determine credentials. Please set GOOGLE_APPLICATION_CREDENTIALS or explicitly create credentials and re-run the application. For more information, please see https://cloud.google.com/docs/authentication/getting-started" again and again.
Although I have created a json file of google credential and after running that file it is working. But when I import the credential file in my code it shows the same bug which mentioned above.
Can anybody please help me to recover this error.
Try setting the GOOGLE_APPLICATION_CREDENTIALS environment variable. This will be used by the client library in the programming language you're using.
linux:
export GOOGLE_APPLICATION_CREDENTIALS="/home/<username>/path-to-json"
windows (PowerShell):
$env:GOOGLE_APPLICATION_CREDENTIALS="C:\Users\<username>\path-to-json"
https://cloud.google.com/speech-to-text/docs/quickstart-client-libraries
Related
This is the screen I get when I try to change the credentials:
I had made previously a credential using that package name:"com.CavernHead.MostAnnoyingChat" and then later deleted because I wanted to start over making my credentials on a clean slate. It seems that something about the old credentials still remain and is stopping me from changing my package name to the old one. I'm not even sure if it's essential for what i'm doing but it could be so I want to change the package name to com.CavernHead.MostAnnoyingChat.
just for context I ran in to this issue while trying to follow this tutorial and implement google sign in with playfab: https://learn.microsoft.com/en-us/gaming/playfab/features/authentication/platform-specific-authentication/google-sign-in-unity
Any help would be highly appreciated
thanks.
Message shown while playing SCORM content:
Error : Unable to acquire LMS API.
I try to access the same SCORM package on other LMS i.e. Moodle and it works fine. We can also observe that the same content is opened on our LMS after working hour.
On modern browsers it shows the same message, but it works after refreshing the page.
The actual reason behind this problem is a configuration error that locates the address actual SCORM java applet location.
I am trying to download content of a previous revision of a file using the google drive api for Ruby Google::Apis::DriveV3::DriveService#get_revision:
Tempfile.create('file_revision-', encoding: 'ASCII-8BIT') do |temp_file|
drive_api_service.get_revision(file_id, revision_id, download_dest: temp_file)
# work with the content
end
I keep getting Google::Apis::ClientError with status code 403, reason phrase "Forbidden". The scope https://www.googleapis.com/auth/drive is enabled and the error occurs only when I am trying to download the content of the revision. If I run the code without the parameter download_dest, the request succeeds without any problems. I am also able to fetch any meta data or revision, export files, upload files etc., the problem only occurs when I try to fetch the content, either by get_file or get_revision.
Has anyone encountered this issue?
Is there an additional permissions that specifically needs to be added to allow content downloading?
I have also looked at other questions on stack overflow and I have checked all possible configuration for google drive api I could find and everything seems to be enabled.
Right now, Google drive api does not support content downloading for native google drive files (google docs, sheets etc.), so you cant download content (current or of an old revision), you can only export it to a different mime type.
I have a webapp in production that interacts with Google Drive through Google Drive API.
I need to change some settings in Drive interaction but I can't save.
When I save the Drive UI integration page, I receive this error:
There's a problem at our end.
Please try again. If the problem persists, please let us know using
the "Send feedback" link below. Thanks!
(spying Network console: there is an Internal Server Error in a POST call)
I tried to send feedback for months: nobody answers and the bug is still there.
I tried also to create another project: I can save the first time but then the bug returns.
How can I do? Has someone the same problem?
Is there a way to receive a reply from Google? Is there some workaround?
Thank you.
i think that problem must be Client ID
before adding Client ID, go to the Credentials -> OAuth 2.0 Client IDs
then select edit your Client ID. after that your production site url add to Authorized JavaScript origins and Authorized redirect URIs.
then enter your Client ID in Drive UI integration page
For myself trying to get the Drive UI configured I noticed a couple of errors (that don't have any specific error messages)
When adding in an Open URL it has to be a valid domain, so for instance I tried to test it out with local host, to no avail. However something like https://devbox.app.com worked, but something like https://localhost:8888 does not. Even though https://localhost is a valid javascript origin in the client_id configuration (at least for the app I am working on, not sure about other apps), localhost doesn't work as an open URL.
When adding in the mimeTypes it needs to be in the format */* and can include custom mimeTypes like application/custom+xml and application/custom-name+json not sure for other custom types that are not in a particular format like xml or json. Also not sure about wildcards.
When adding in file extensions do not add in the '.' just the name of the file extension.
The app icon I found only failed to upload the image when the image wasn't the exact dimensions, I actually ended up editing some icons in photoshop to change the pixel x pixel values as a quick work around during dev.
That worked for me to get it to save and I tested it with a file that had a custom mimeType (application/custom-name+xml specifically) and custom file extension!
I have an issue with FileNet-p8:
All simply, I do not have access to a WorkFlow already designed. I have always a popup asking me to authenticate , I use the same Login/psw to access to the Workplace. But always I get the same message :
Unable to get the configuration file WcmApiConfig.properties
I'm workin with the IBM JVM 1.6 and the Firefox browser.
Thanks.
In our environment, you must use IE in order to avoid that error message. We have not been able to get FireFox to work with WorkplaceXT or PCC.
Even when launching PCC from ACCPE we need to use IE.
If you see the login screen, don't even bother with your credentials. It simply will not work.