# Cover Art Issues

**URL:** <https://discourse.beets.io/t/cover-art-issues/1204>\
**Category:** Help\
**Created:** [April 7, 2020, 4:31pm UTC](https://discourse.beets.io/t/cover-art-issues/1204 "2020-04-07T16:31:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dilanuslan](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.beets.io/dilanuslan/32/344_2.png) [@dilanuslan](https://discourse.beets.io/u/dilanuslan)\
**Post date:** [April 7, 2020, 4:31pm UTC](https://discourse.beets.io/t/cover-art-issues/1204/1 "2020-04-07T16:31:16Z")

</div>

Hello!

I’m having a hard time to get an API key for Google Images as I’m trying to write a similar plugin to ‘fetchart’. Can you please guide me about how to create a unique key?

Also, response.json() seems not working properly, I keep getting an error. How can I fix it? Did anyone deal with such problems before?

Thank you so much, and I’m sorry if these questions are stupid. This is my first time working with APIs.

Here’s a screenshot of my errors:

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/beets/original/1X/8e373e363ef6dc89c74c6280521869941642ba1e.png)

---

<div class="post-metadata">

**Author:** ![adrian](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.beets.io/adrian/32/4_2.png) [@adrian](https://discourse.beets.io/u/adrian)\
**Post date:** [April 7, 2020, 11:58pm UTC](https://discourse.beets.io/t/cover-art-issues/1204/2 "2020-04-07T23:58:39Z")

</div>

I unfortunately don’t know much about the process for obtaining such an API key… but maybe you can describe what you’ve done so far? For example, did you register for a key yet? Did you try setting up a “Custom Search” engine?

---

<div class="post-metadata">

**Author:** ![dilanuslan](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.beets.io/dilanuslan/32/344_2.png) [@dilanuslan](https://discourse.beets.io/u/dilanuslan)\
**Post date:** [April 9, 2020, 1:19pm UTC](https://discourse.beets.io/t/cover-art-issues/1204/3 "2020-04-09T13:19:09Z")

</div>

I’ve created a search engine that would search Google Images and I have an API key but it gives the error message that it is invalid. And I’m also confused 😃

Maybe I should define the custom search in a different way?
