- CheckMates
- :
- Products
- :
- Developers
- :
- API / CLI Discussion
- :
- "UNSUPPORTED_FILE" after uploading a file
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Are you a member of CheckMates?
×
Sign in with your Check Point UserCenter/PartnerMap account to access more great content and get a chance to win some Apple AirPods! If you don't have an account, create one now for free!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
"UNSUPPORTED_FILE" after uploading a file
Hi, I have a few questions:
- I uploaded separately multiple files using the API on 90% of them I get the message "CP_EXTRACT_RESULT_UNSUPPORTED_FILE" why is that?, it gives that message even for simple txt files?
- When I'm trying to ask a query about some file using his md5/sha1 it tells me "could not find the requested file. ,Please upload it" even that I uploaded the file a few seconds before using the query, any suggestions?
- Tags:
- api
- threat prevnetion
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1. You are uploading a not supported file to TEX, that means that you might be using ['te','extraction'] as features for all your files. If you upload en executable for example you will receive CP_EXTRACT_RESULT_UNSUPPORTED_FILE because you cannot apply TEX to an exe.
2. When using Cloud Service you must include a cookie to the request.
Using Python requests it looks like:
results = requests.post( serviceSettings['service_primary'] + 'query', headers = headers, data = json.dumps(request), cookies=cookie, verify=False)
You obtain the cookie after each request, use it once you get it for all the request of this file.
Cookie is only needed for cloud service.
