Error in script without clear explanation

Hello everyone. Does anyone understand why this error occurred. I do not understand what you’re referring to. From what I understand, it has something to do with the moment in which a record is saved in the database, but I don’t know what it refers to. Thank you very much

Logger: homeassistant.config
Source: config.py:454
First occurred: 16:37:03 (2 occurrences)
Last logged: 16:37:03

Invalid config for [script]: expected a dictionary. Got OrderedDict([('dhcp', {}), ('my', {}), ('wake_on_lan', {}), ('recorder', OrderedDict([('db_url', 'mysql://homeassistant:Nasanasa0401@core-mariadb/homeassistant?charset=utf8mb4'), ('purge_keep_days', 5), ('commit_interval', 30), ('exclude', OrderedDict([('entity_globs', ['sensor.browser_*'])]))])), ('system_health', {}), ('default_config', {}), ('lovelace', OrderedDict([('mode', 'yaml'), ('resources', [OrderedDict([('url', '/hacsfiles/button-card/button-card.js'), ('type', 'module')]), Ordered.... (See ?, line ?).