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

Error about api keys and JSON invalid character [Solved] #436

Closed
Ayanashi opened this issue Jul 15, 2023 · 2 comments
Closed

Error about api keys and JSON invalid character [Solved] #436

Ayanashi opened this issue Jul 15, 2023 · 2 comments

Comments

@Ayanashi
Copy link

[JSON]: invalid character encountered while parsing JSON string, at character offset 220 (before "\n"\n}\n") at /usr/share/perl5/vendor_perl/WWW/YoutubeViewer/ParseJSON.pm line 38.


Error: no API key has been set!

For creating/setting an YouTube API key, please see:
https://github.com/trizen/youtube-viewer#logging-in


=>> Search for YouTube videos (:h for help)
>

i insert correcly keys on ~/.config/youtube-viewer/api.json
youtube-viewer version : 3.10.8
OS : Archlinux
Kernel : 6.1.38-1-LTS

@trizen
Copy link
Owner

trizen commented Jul 15, 2023

Double-check the file ~/.config/youtube-viewer/api.json for syntax errors, by executing the following command:

json_pp < ~/.config/youtube-viewer/api.json

@Ayanashi
Copy link
Author

Double-check the file ~/.config/youtube-viewer/api.json for syntax errors, by executing the following command:

json_pp < ~/.config/youtube-viewer/api.json

yeah my bad some syntax was wrong after key "xxxxxxx
"
thank you my mistake

@Ayanashi Ayanashi changed the title Error about api keys and JSON invalid character Error about api keys and JSON invalid character [Solved] Jul 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants