What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags

View all Tags

JSON: The returned JSON does not match the expected structure (Invalid JSON.). (code: PE231)



Hello Paessler Teams,

I have a 2 PRTG servers, both are added python advanced script sensor and using a same python script. but i have a problem with the one of them. the error is "JSON: The returned JSON does not match the expected structure (Invalid JSON.). (code: PE231)". I'm already try to fix it by following tutorial from internet. but, the problem still exist. please kindly help.

Thanks Regards


api json python

Created on Feb 22, 2023 4:51:33 AM

1 Reply




for analysis, please open the sensor's "Settings" tab and enable the "Store Result" option.

After the next sensor scan, the result logs are written to "C:\ProgramData\Paessler\PRTG Network Monitor\Logs\sensors" on the respective probe. Can you see in the logs what is going wrong?

Created on Feb 23, 2023 12:43:45 PM by  Arne Seifert [Paessler Support]

Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.