Initializing help system before first use

# xpressinsight.AttachStatus

Purpose
Indicates the status of the most recent attempt to access or modify an attachment.
Synopsis
`class xpressinsight.AttachStatus(Enum)`
Arguments

AttachStatus.OK | The operation completed successfully.
AttachStatus.NOT_FOUND | The specified attachment does not exist.
AttachStatus.INVALID_FILENAME | An attachment could not be created or renamed because the specified filename is invalid. It may be too long, too short, or contain invalid characters.
AttachStatus.INVALID_DESCRIPTION | The specified description is invalid. The description can be a maximum of 2500 characters in length.
AttachStatus.ALREADY_EXISTS | An attachment could not be created because another attachment with the same name already exists.
AttachStatus.TOO_LARGE | An attachment could not be created because the attached file is too large. Attachments can be a maximum of 150Mb in size.
AttachStatus.TOO_MANY | An attachment could not be created because the maximum number of attachments (250) has been reached for the app or scenario.
AttachStatus.INVALID_TAGS | Invalid tags were provided.
AttachStatus.SEVERAL_FOUND | Several attachments match the given tag, but the function called only allows for one to be retrieved.

Further information
To maintain backwards compatibility, attachment operations will only raise exceptions on error if the raise_attach_exceptions attribute of either the AppConfig or AppInterface class is set to True. When this is not the case, after every call to an attachment-related function or procedure, you should check the value of insight.attach_status to see if your request succeeded.
Related topics
AppConfig.raise_attach_exceptions,
AppInterface.attach_status,
AppInterface.raise_attach_exceptions
Parent Topic Attachments Classes

© 2001-2026 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.