# Json Question error

**URL:** <https://community.mp3tag.de/t/json-question-error/52619>\
**Category:** Web Sources Discussion\
**Created:** [March 31, 2021, 1:26pm UTC](https://community.mp3tag.de/t/json-question-error/52619 "2021-03-31T13:26:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Romano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/romano/32/7465_2.png) [@Romano](https://community.mp3tag.de/u/Romano)\
**Post date:** [March 31, 2021, 1:26pm UTC](https://community.mp3tag.de/t/json-question-error/52619/1 "2021-03-31T13:26:13Z")

</div>

This error is annoying me so i ask here for help:  
I have an websource, geting the data from here: [http://vgmdb.info/album/73784?format=json](http://vgmdb.info/album/73784?format=json)

I get this error:

```
Script-Line : 31
Command : json
Parameter 1 : >ON<

Aborted: ERROR(L31/json): expected value, got '<' (60)

```

the websource line is:

`json "ON"`

i looked around the internet, and maybe the problem is the json is not correct, but i use several online Json validators and all worked, what could it be?  
it was working great until lately.

[VGMdb#Search by &Album JSON.src](https://community.mp3tag.de/uploads/short-url/hn2t57bYimK12FBOcOZRlOlJLPU.src) (7.0 KB)

---

<div class="post-metadata">

**Author:** ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)\
**Post date:** [March 31, 2021, 1:55pm UTC](https://community.mp3tag.de/t/json-question-error/52619/2 "2021-03-31T13:55:50Z")

</div>

The JSON is valid, but in this case the tag source returns HTML. You can check the actual input data received by Mp3tag via

`debugwriteinput "<file path>"`

I did some further testing and it seems that the tag source doesn't like the default user agent that is used by Mp3tag. If you add

`[UserAgent]=1`

to the tag-source header, Mp3tag uses its name and version number as user agent, e.g., `Mp3tag/3.06a`. This should resolve the problem.

---

<div class="post-metadata">

**Author:** ![Romano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/romano/32/7465_2.png) [@Romano](https://community.mp3tag.de/u/Romano)\
**Post date:** [March 31, 2021, 8:05pm UTC](https://community.mp3tag.de/t/json-question-error/52619/3 "2021-03-31T20:05:03Z")

</div>

Thank you that solved the problem.
