def handle_analyze_by_hash_response(response, file_hash):
    if (response.status_code == 404):
        dbot = {'Vendor': 'Intezer', 'Type': 'hash', 'Indicator': file_hash, 'Score': 0}
        hr = f'Hash {file_hash} does not exist on Intezer genome database'
        ec = {'DBotScore': dbot}
        return_outputs(hr, ec)
        return
    elif (response.status_code == 400):
        return_error('File hash is not valid.\nIntezer file hash reputation supports only SHA-256, SHA-1 and MD5 hash formats.\n')
    handle_analyze_response(response)
def handle_analyze_by_hash_response(response, file_hash):
    if (response.status_code == 404):
        dbot = {'Vendor': 'Intezer', 'Type': 'hash', 'Indicator': file_hash, 'Score': 0}
        hr = f'Hash {file_hash} does not exist on Intezer genome database'
        ec = {'DBotScore': dbot}
        return_outputs(hr, ec)
        return
    elif (response.status_code == 400):
        return_error('File hash is not valid.\nIntezer file hash reputation supports only SHA-256, SHA-1 and MD5 hash formats.\n')
    handle_analyze_response(response)