Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hi, I am getting authentication error while running OCR in nodeJS #1592

Closed
mamta-dhaka opened this issue Jan 15, 2020 · 3 comments
Closed

Hi, I am getting authentication error while running OCR in nodeJS #1592

mamta-dhaka opened this issue Jan 15, 2020 · 3 comments
Labels
type: question Request for information or clarification. Not an issue.

Comments

@mamta-dhaka
Copy link

Error: The incoming JSON object does not contain a client_email field at JWT.fromJSON can someone please help , where to send the config from?

@fhinkel
Copy link
Contributor

fhinkel commented Jan 15, 2020

👋 @mamta-dhaka Thanks for opening the issue. Could you specify which example you are running? Thank you

@mamta-dhaka
Copy link
Author

Hi, it got resolved now by giving config file in keyFilename.
const client = new vision.ImageAnnotatorClient({keyFilename: 'config.default.json'});
its not mentioned in the api docs, it would be helpful if mentioned,
Thank you

@fhinkel
Copy link
Contributor

fhinkel commented Jan 15, 2020

Awesome, great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: question Request for information or clarification. Not an issue.
Projects
None yet
Development

No branches or pull requests

2 participants