Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
marcosGomes
Explorer
Jump to solution

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

0 Kudos
2 Solutions

Accepted Solutions
Arik_Ovtracht
Employee
Employee

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.

View solution in original post

(1)
the_rock
Legend
Legend

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.

View solution in original post

0 Kudos
(1)
2 Replies
Arik_Ovtracht
Employee
Employee

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.

(1)
the_rock
Legend
Legend

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.

0 Kudos
(1)

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    Tue 23 Apr 2024 @ 11:00 AM (EDT)

    East US: What's New in R82

    Thu 25 Apr 2024 @ 11:00 AM (SGT)

    APAC: CPX 2024 Recap

    Tue 30 Apr 2024 @ 03:00 PM (CDT)

    EMEA: CPX 2024 Recap

    Thu 02 May 2024 @ 11:00 AM (SGT)

    APAC: What's new in R82

    Tue 23 Apr 2024 @ 11:00 AM (EDT)

    East US: What's New in R82

    Thu 25 Apr 2024 @ 11:00 AM (SGT)

    APAC: CPX 2024 Recap

    Tue 30 Apr 2024 @ 03:00 PM (CDT)

    EMEA: CPX 2024 Recap

    Thu 02 May 2024 @ 11:00 AM (SGT)

    APAC: What's new in R82
    CheckMates Events