Skip to main content

Dear Team,

I am in the process of setting up Cloud Exchange, and the deployment has been successful, including access to the UI. However, I am encountering issues when attempting to add a tenant to the Cloud Exchange. The following errors appear in the logs:

[CE_1045, CE_1044, CE_1126]

I have reviewed the configuration and validated the tokens, but I am still unable to onboard the tenant.

Could you please assist in troubleshooting this issue?

Detailed Error: 

09/10/2024 10:20:10 PM    CE_1045    error    Error occurred while validating v1 token, Exception occurred while parsing JSON response.

Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/requests/models.py", line 971, in json
    return complexjson.loads(self.text, **kwargs)
  File "/usr/local/lib/python3.9/json/__init__.py", line 346, in loads
    return _default_decoder.decode(s)
  File "/usr/local/lib/python3.9/json/decoder.py", line 340, in decode
    raise JSONDecodeError("Extra data", s, end)
json.decoder.JSONDecodeError: Extra data: line 1 column 123 (char 122)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/netskope/common/utils/handle_exception.py", line 129, in handle_status_code
    return response.json()
  File "/usr/local/lib/python3.9/site-packages/requests/models.py", line 975, in json
    raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: Extra data: line 1 column 123 (char 122)


09/10/2024 10:20:09 PM    CE_1044    error    Error occurred while validating credentials. Incorrect tenant name/API token provided.

Traceback (most recent call last):
  File "/opt/netskope/common/models/tenant.py", line 101, in validate_v2token
    raise ValueError("Incorrect tenant name/API token provided.")
ValueError: Incorrect tenant name/API token provided.

09/10/2024 10:38:37 PM    CE_1126    error    Error occurred while validating V1 token.

 

Thank you,

Have you tested the API manually? I’ve seen Netskope tenants where the API was never enabled during provisioning.


Please double-check the API token and tenant name in your Cloud Exchange configuration. Error CE_1044 suggests that the provided credentials are incorrect.


Reply