- CheckMates
- :
- Products
- :
- Quantum
- :
- Skyline
- :
- No JSON object could be decoded
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Are you a member of CheckMates?
×- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No JSON object could be decoded
A configuração de telemetria aberta do Check Point Firewall, ao executar /opt/CPotelcol/REST.py --set_open_telemetry "$(cat payload-no-tls.json)", gera o erro, alguém pode ajudar?
[Expert@Salto:0]# /opt/CPotelcol/REST.py --set_open_telemetry "$(cat payload-no-tls.json)"
Erro: Nenhum objeto JSON pôde ser decodificado
Traceback (última chamada mais recente):
Arquivo " /opt/CPotelcol/REST.py", linha 974, em main
reqData = json.loads(args.set_open_telemetry)
Arquivo "/opt/CPsuite-R81.10/fw1/Python/lib/python2.7/json/__init__. py", linha 339, em load
retorna _default_decoder.decode(s)
Arquivo "/opt/CPsuite-R81.10/fw1/Python/lib/python2.7/json/decoder.py", linha 364, em decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
Arquivo "/opt/CPsuite-R81.10/fw1/Python/lib/python2.7/json/decoder.py", linha 382, em raw_decode
raise ValueError("Nenhum objeto JSON pôde ser decodificado")
ValueError:Nenhum objeto JSON pôde ser decodificado
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @marcosGomes , I hope you can understand my English.
Looks like the issue you have is with the syntax in the payload file. Try to use the example file provided in sk178566, and do not use any unsupported characters.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Here is my google translate message in Portugese lol
Concordo com Sorin aqui, pois houve um post recente sobre algo semelhante e acabou sendo um problema com a sintaxe.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @marcosGomes , I hope you can understand my English.
Looks like the issue you have is with the syntax in the payload file. Try to use the example file provided in sk178566, and do not use any unsupported characters.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Here is my google translate message in Portugese lol
Concordo com Sorin aqui, pois houve um post recente sobre algo semelhante e acabou sendo um problema com a sintaxe.