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

"create_catagory" HTTPError: 400 Client Error #15

Open
mrphixit opened this issue Jan 12, 2023 · 2 comments
Open

"create_catagory" HTTPError: 400 Client Error #15

mrphixit opened this issue Jan 12, 2023 · 2 comments

Comments

@mrphixit
Copy link

Wondering if I could get some help with this error.

Despite pre-creating the "CrowdStrike Malicious URLs - High" URL Category manually in zScaler, it appears this code is trying to create the category via API. I've tried running the script with the URL Category pre-created manually, and with it removed, and it still gives a 400 client error trying to create the category. Here's the logs:

  01/12/2023 11:38:02 AM Confirming URL category CrowdStrike Malicious URLs - High exists
01/12/2023 11:38:04 AM Creating URL category CrowdStrike Malicious URLs - High
01/12/2023 11:38:04 AM [Zscaler API] URL Category creation error: 400 Client Error:  for url: https://zsapi.zscaler.net/api/v1/urlCategories
01/12/2023 11:38:04 AM HTTP related failure:
< POST /api/v1/urlCategories HTTP/1.1
< Host: zsapi.zscaler.net
< User-Agent: Zscaler-FalconX-Intel-Bridge-v2
< Accept-Encoding: gzip, deflate
< Accept: */*
< Connection: keep-alive
< content-type: application/json
< cache-control: no-cache
< cookie: JSESSIONID=
< Content-Length: 123
< 
< configuredName=CrowdStrike+Malicious+URLs+-+High&customCategory=true&superCategory=USER_DEFINED&urls=mine.ppxxmr.com%3A5555
> HTTP/1.1 400 
> Strict-Transport-Security: max-age=31622400;includeSubDomains;preload
> X-Frame-Options: SAMEORIGIN
> X-Content-Type-Options: nosniff
> X-XSS-Protection: 1; mode=block
> x-zscaler-mode: read-write
> Cache-Control: no-store
> Content-Disposition: attachment; filename="api.json"
> Content-Type: application/json
> Content-Length: 38
> Date: Thu, 12 Jan 2023 16:38:04 GMT
> Connection: close
> Server: Zscaler
> 
{"message":"Request body is invalid."}
@SamP225
Copy link

SamP225 commented Jan 13, 2023

Getting the same error for me too. @mrphixit Are you able to get any help?

@mrphixit
Copy link
Author

@SamP225 I have a case open with Crowdstrike, still waiting on resolution.

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