Is unsuccessfully attempting to commit a crime an offense?
It may be. It depends on the circumstances and on the law of the jurisdiction. A person who intends to commit a particular crime and takes a substantial step toward perpetrating it, but fails to actually complete it may be guilty of the separate crime of attempt. Generally an act that is extremely remote from the completed crime, such as early preparation, will not be significant enough to constitute criminal attempt.