Errors

Error response example

Bash
Copy

Error Codes Explained

GroupError codeDescriptionHTTP Code
HTTP errors :: 400400000Generic Error400
Generic errors400001The caching strategy is not recognized400
400002The limit strategy is not supported400
400003The limit type is not supported400
400004The query params are not valid400
400005The URL params are not valid400
400006Domain is not a valid origin.400
Payload400020Header is not valid400
400021Payload is not valid400
400022Payload validation has failed400
400023Headers are not correct400
400024Headers are missing400
400025Payload is missing or empty400
400026Hash in the url doesn't match the hash value in the body400
400027Offset should be a positive integer400
400028Limit should be a positive integer less than 10000400
400029Rescan is not available for sanitized files400
400030Rescan is not available400
400031Resource already exists400
Routing errors400040The requested path is not valid400
400041The version is required400
400042The version does not exist400
400043The requested path does not exist400
400044Method does not exist400
400045The route was not properly setup400
400046The requested route does not exist400
400047This route is available only on development environments400
400048This route is deactivated400
Hash errors400060The hash field in body is required400
400061The hash field is not an array400
400062The hash field is empty400
400063Exceeded maximum allowed400
400064The hash value is not valid400
400065The header has to be either 0 or 1.400
400066The header has to be either 0 or 1.400
400067Hash update failed400
Top hash URL errors400080Limit must be positive400
400081Type must be one of clean / infected400
400082Period must be one of day / week / month400
400083Threshold must be one of 1, 2, 3, 4, 5, 6400
App info400100The field device_info.os_info.device_identity is required400
400101The fields file_info.sha1, file_info.file_property.file_location, file_info.file_property.file_name are required400
400102Failed to save appinfo. Please try again later.400
Top detection errors400120The header x-exclude-empty-file-id has to be either 0 or 1400
400121The header x-exclude-data has to be either 0 or 1400
400122The header x-threshold must be one of 1, 2, 3, 4, 5, 6400
400123Packages should be one of m1, m4, m8, m12, m16, m20, mmax, mcl, mem, isv400
400124Number of hashes must be one of 10, 100, 1000, 10000400
Upload errors400140The file upload has failed.400
400141The header has to be either 0 or 1.400
400142The header has to be either 0, 1 or 2.400
400143Private scanning not enabled for the provided API key.400
400144Exceeded maximum file size allowed.400
400145Request body is empty. Please send a binary file.400
400146Provided download url is not valid or inaccessible.400
400147Rescan Failed. Requested file is missing from our servers.400
400148Requested file is a private one and cannot be rescanned.400
400149Could not update the rescan count.400
400150The file_ids field array in body is required400
400151The file_ids field is not an array400
400152The file_ids field is empty400
400153Exceeded maximum allowed400
400154Exceeded maximum allowed files in archive400
400155Redirect urls are not supported400
400156Workflow rule not available for your account400
API key400160The apikey you are trying to add already exists400
400161The apikey could not be removed400
400162The apikey was not updated400
400163The body is invalid400
400164Please choose another nickname, as this one is too long400
400165No apikey specified400
400166Please provide a valid email address400
400167Please provide a valid body400
400168Please choose another nickname, as this one contains profanities400
400169File type not allowed for vulnerability submission400
User reputation400170The user's reputation could not be updated400
IP-Domain errors400180Invalid format of the input. Provide IPv4 or IPv6400
400181The address field in the body is required400
400182The address field is not an array400
400183The address field is empty400
400184Exceeded maximum allowed400
400185The address is a not a routable IP400
400186No response400
Stats400200The number of days requested must be a positive integer400
400201Invalid objectId400
400202Invalid date400
400203Invalid outbreak report filter400
Status400210Param type must be one of prevention_api / reputation_api / feed_api400
Coupons400220Code not found400
400221Code is inactive400
400222This promotion has ended400
400223Coupon update failed400
400224Coupon already used400
400225User already has an active coupon400
400226Can not activate a coupon on a paid apikey400
Repo400240Invalid source value400
400241Invalid repository400
Salesforce400250Salesforce connectivity error400
400251There is no record400
Feed400260You are allowed to query up to 30 days in the past400
400261Invalid category. Please use: A, D, E, G, M, N, O, P, T, Z400
Cognito400262App client name not provided400
400263App client id not provided400
400264Maximum number of app clients reached400
400265App client could not be created400
400266No client ids associated with current customer400
400267Client id is not associated with current customer400
400268Information about current app client could not be retrieved400
400269App client could not be removed400
HTTP errors :: 401401000Authentication has failed401
401001Authentication strategy is invalid401
401002Authentication strategy is not implemented401
401003Authorization strategy is not supported for this endpoint401
401004Authentication token has expired401
401005Authentication token is invalid401
401006Invalid API key401
401007You are not authorized401
401008You are not authorized to download this file401
HTTP errors :: 403403000Access Forbidden403
403001Requested resource doesn't match your API key403
403002Your IP is blocked because of abuse and will be automatically unblocked in one hour. This is for preventing brute-force attacks.403
403003Insufficient privileges403
HTTP errors :: 404404000Endpoint not found404
404001Entity was not found404
404002There are no entries found404
404003The hash was not found404
404004The data_id was not found404
404005The hash information was not found404
404006There is no data for selected date404
404007Requested file id does not exist in our records404
404008The apikey was not found404
404009Requested CVE does not exist in our records404
404010Unsupported file type404
404011This hash was scanned as a private file and we do not store the file404
404012File was archived404
404013This API version is no longer maintained. Please use V4 API https://onlinehelp.opswat.com/mdcloud/6._V4_API.html404
HTTP errors :: 406406000Content-Type header & payload has to be json406
406001Payload data missing or error406
HTTP errors :: 408408000Request timeout. It has reached the 60 seconds limit408
HTTP errors :: 429429000Rate limit exceeded, retry after the limit is reset.429
429001Your request has been throttled, maximum requests per minute429
429002Too many connections, try again later429
HTTP errors :: 500500000Scan request has failed permanently.500
500001Internal Server Error500
HTTP errors :: 503503000External service is not reachable503
503001External service is not reachable503
503002Server is not accessible503
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard