---
title: "Error 500 'No closing quotation'"
description: "Error 500 'No closing quotation' occurs in Opsview 6.9+ when applying changes due to malformed NRPE plugin configurations. The issue is resolved by identifying and correcting or deleting the problematic plugin using argsanalyzer.py and the GUI."
url: "https://docs.itrsgroup.com/docs/faq/opsview/20725456753949-opsview-error-500-no-closing-quotation/index.html"
---
## Symptoms Opsview - Error 500 'No closing quotation'

- Unable to apply changes in opsview 6.9 +, within the logging you will notice an error such as below:

##### `Aug 3 08:07:57 itrs-uk journal: opsview.orchestrator.tasks.generatetask <28732> : [ERR] No closing quotation#012Traceback (most recent call last):#012 File "/opt/opsview/orchestrator/venv3/lib/python3.9/site-packages/opsview/common/task/basetask.py", line 84, in run#012 File "/opt/opsview/orchestrator/venv3/lib/python3.9/site-packages/opsview/orchestrator/tasks/generatetask.py", line 253, in process_message#012 File "/opt/opsview/orchestrator/venv3/lib/python3.9/site-packages/opsview/orchestrator/tasks/generatetask.py", line 436, in _do_generate#012 File "/opt/opsview/orchestrator/venv3/lib/python3.9/site-packages/opsview/orchestrator/tasks/generatetask.py", line 360, in _fetch_config_data#012 File "/opt/opsview/orchestrator/venv3/lib/python3.9/site-packages/opsview/orchestrator/tasks/generatetask.py", line 902, in _gen_service_commands#012 File "/opt/opsview/orchestrator/venv3/lib/python3.9/site-packages/opsview/orchestrator/tasks/generatetask.py", line 971, in _gen_host_service_commands#012 File "/opt/opsview/orchestrator/venv3/lib/python3.9/site-packages/opsview/orchestrator/tasks/generatetask.py", line 931, in add_command_to_hse#012 File "/opt/opsview/orchestrator/venv3/lib/python3.9/site-packages/opsview/orchestrator/tasks/generatetask.py", line 1007, in _agent_config_from_command#012 File "/opt/opsview/python3/lib/python3.9/shlex.py", line 315, in split#012 return list(lex)#012 File "/opt/opsview/python3/lib/python3.9/shlex.py", line 300, in __next__#012 token = self.get_token()#012 File "/opt/opsview/python3/lib/python3.9/shlex.py", line 109, in get_token#012 raw = self.read_token()#012 File "/opt/opsview/python3/lib/python3.9/shlex.py", line 191, in read_token#012 raise ValueError("No closing quotation")#012ValueError: No closing quotation`

## Cause: NRPE Changes

### Solution: Alter the plugin/delete

After we analyzed the ID we **deleted** it you can **also** amend it relevantly so it has closing quotes, no whitespaces, etc the script [argsanalyzer.py](/faq/downloads/opsview/20725456753949-20725747471645-argsanalyzer.py) will tell you the ID that has an issue and then you will have to query the runtime DB for the ID within the nagios\_servicechecks table

OR

The other **easy** way is to find it in the GUI as below example:

![Opsview - Error 500 'No closing quotation'](https://docscdn.itrsgroup.com/faq/images/opsview/20725456753949-20725908588829-mceclip1.png)


