> Source: [sk180573](https://support.checkpoint.com/results/sk/sk180573)

# sk180573 - The "hcp" command starts to show the output and fails with a traceback

| Property | Value |
|----------|-------|
| Solution ID | sk180573 |
| Date Created | 2023-02-08 |
| Last Modified | 2023-09-27 |
| Technical Level | Advanced |
| Products | Security Gateway, Scalable Platforms, Security Management Server |
| Versions | R81.10 (EOS), R81 (EOS), R81.10 (EOS), R81 (EOS), R81.10 (EOS), R81 (EOS) |
| OS | Gaia |

## Symptoms

- The "`hcp`" command ([sk171436](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk171436)) starts to show the output and fails with a traceback.

Example:

`[Expert@GW_HostName:0]# hcp <options>`  
`
Test name Status`  
`
============================================================`  
`
ARP Cache Limit...................................[PASSED]`  
`
... ... ...`  
`
Traceback (most recent call last):`  
`
File "/bin/hcp", line <XXX>, in <module>`  
`
sys.exit(main())`  
`
... ... ...`  
`
File "/opt/CPsuite-<Version>/fw1/Python/lib/python<XXX>/json/encoder.py", line <XXX>, in _iterencode_dict`  
`
yield _encoder(value)`  
`
`**UnicodeDecodeError: 'utf8' codec can't decode byte 0x81 in position 0: invalid start byte**

## Cause

The error is related to an unexpected byte that Python could not decode.

## Solution

This solution requires authentication. Please log in to view the full solution.

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
