Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration Error #17

Open
gurtej298 opened this issue Mar 10, 2023 · 2 comments
Open

Integration Error #17

gurtej298 opened this issue Mar 10, 2023 · 2 comments

Comments

@gurtej298
Copy link

When executing script we are getting following error message. is there any changes required in code?

Cache-Control: no-store
x-zscaler-mode: read-write
Content-Disposition: attachment; filename="api.json"
Content-Type: application/json
Content-Length: 66
Date: Fri, 10 Mar 2023 18:45:13 GMT
Connection: close
Server: Zscaler

{"code":"AUTHENTICATION_FAILED","message":"AUTHENTICATION_FAILED"}
Traceback (most recent call last):
File "", line 198, in run_module_as_main
File "", line 88, in run_code
File "C:\Users\gpbsing\Desktop\ZS-CS\ZSCS_integration\zscaler-FalconX-integration\intelbridge_main
.py", line 26, in
main()
File "C:\Users\gpbsing\Desktop\ZS-CS\ZSCS_integration\zscaler-FalconX-integration\intelbridge_main
.py", line 18, in main
intelbridge.start()
File "C:\Users\gpbsing\Desktop\ZS-CS\ZSCS_integration\zscaler-FalconX-integration\intelbridge\intelbridge.py", line 114, in start
zs_token = zs_auth()
^^^^^^^^^
File "C:\Users\gpbsing\Desktop\ZS-CS\ZSCS_integration\zscaler-FalconX-integration\intelbridge\auth\auth.py", line 77, in zs_auth
response.raise_for_status()
File "C:\Users\gpbsing\AppData\Roaming\Python\Python311\site-packages\requests\models.py", line 943, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: for url: https://zsapi.zscalertwo.net/api/v1/authenticatedSession

@gurtej298
Copy link
Author

Any update on this issue

@jlangdev
Copy link
Collaborator

@gurtej298 Hey, looks like an issue with your zscaler API client. Can you confirm that you've filled all the auth configuration correctly in config.ini? Your zscaler client also needs to have the right scopes for pushing to URL categories.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants