#Please help me with the error importing my API

1 messages ยท Page 1 of 1 (latest)

blissful marshBOT
#

<@&987246527741304832> please have a look, thanks.

blissful marshBOT
#

While you are waiting for getting help, here are some tips to improve your experience:

Code is much easier to read if posted with syntax highlighting and proper formatting.

If nobody is calling back, that usually means that your question was not well asked and hence nobody feels confident enough answering. Try to use your time to elaborate, provide details, context, more code, examples and maybe some screenshots. With enough info, someone knows the answer for sure.

Don't forget to close your thread using the command </help-thread close:1027500463647621170> when your question has been answered, thanks.

#

Here is an AI assisted attempt to answer your question ๐Ÿค–. Maybe it helps! In any case, a human is on the way ๐Ÿ‘. To continue talking to the AI, you can use </chatgpt:1108714622413963314>.

strong ferry
#

u likely didnt add the dependency to ur code

#

u cant just write import and expect it to magically work

#

u have to either download the external code (jar file) and tell ur intellij where it is

#

or u have to use sth like maven/gradle and put the dependency into ur settings file (pom/build)

urban panther
#

Delete your image and go reset your api key right now please

topaz parrot
strong ferry
#

hard to guess without seeing pictures and details though

#

@topaz parrot note that u just leaked ur api key. we have deleted ur image so that no one can steal it anymore, but its possible that people already stole it in the short time

#

if ur concerned about that, u might want to invalidate that api key and create a new one instead

topaz parrot
strong ferry
#

people here are not available for private stuff, sorry

#

u can share it here

topaz parrot
# strong ferry people here are not available for private stuff, sorry

GPT: I understand your frustration with the problems you are facing. However, the error related to GoogleNetHttpTransport, JsonFactory, JsonObjectParser, JacksonFactory and YouTube is not an error that can be resolved by simply adding a file to the project, as these classes are part of the Google libraries and need to be managed correctly with Maven or another dependency management tool.

strong ferry
#

if u either put all the correct jars into ur project, or use maven/gradle and setup the dependency there correctly, it will work

#

if u say u did that but it still doesnt work, u have to share with us what exactly u did (with pictures and detailed explanation) and show any remaining errors

#

closing in favor of duplicate #1154088840647159901

blissful marshBOT
#

Closed the thread.

topaz parrot