ERROR (MainThread) [homeassistant.helpers.template] Error parsing value: 'value_json' is undefined

Any idea from where this is coming from ?

2018-06-02 20:23:41 ERROR (MainThread) [homeassistant.helpers.template] Error parsing value: 'value_json' is undefined (value:
<html><head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>503 Over Quota</title>
<style><!--
body {font-family: arial,sans-serif}
div.nav {margin-top: 1ex}
div.nav A {font-size: 10pt; font-family: arial,sans-serif}
span.nav {font-size: 10pt; font-family: arial,sans-serif; font-weight: bold}
div.nav A,span.big {font-size: 12pt; color: #0000cc}
div.nav A {font-size: 10pt; color: black}
A.l:link {color: #6f6f6f}
A.u:link {color: green}
//--></style>
</head>
<body text=#000000 bgcolor=#ffffff>
<table border=0 cellpadding=2 cellspacing=0 width=100%>
<tr><td bgcolor=#3366cc><font face=arial,sans-serif color=#ffffff><b>Error</b></td></tr>
<tr><td>&nbsp;</td></tr></table>
<blockquote>
<H1>Over Quota</H1>
This application is temporarily over its serving quota.  Please try again later.
<p>
</blockquote>
<table width=100% cellpadding=0 cellspacing=0><tr><td bgcolor=#3366cc><img alt="" width=1 height=4></td></tr></table>
</body></html>
, template: {{ value_json.ip }})

API limit.

API limit of what ? I can’t figure out with that log any idea ?

Your template sensor wants to process JSON but you got HTML content back. According to the title (503 Over Quota) you hit your API request limit or the server hits its limit.

1 Like

Thanks I will check on that :grinning:

Did you ever solve this?
I have the same error

2021-01-19 09:57:41 ERROR (MainThread) [homeassistant.helpers.template] Error parsing value: ‘value_json’ is undefined (value: 529CB4off, template: {{value_json.RfReceived.Data}})

I think it comes from this configuration, the binary sensor works fine despite the error

binary_sensor:
  - platform: mqtt
    state_topic: "tele/RF_Bridge/RESULT"
    name: 'Button1'
    value_template: '{{value_json.RfReceived.Data}}'
    payload_on: '592CB2'
    payload_off: '592CB2off'
    device_class: motion
    #optimistic: false
    qos: 1
    #retain: false