Check out our Axure Sketch plugin for bringing Sketch assets into Axure RP

Hi,

I was having the same problem with ‘target of an invocation’ error. I resolved it by cleaning up the structure in the ‘problem’ file. I removed empty folders that were nested 3+ deep, and broke away one instance of a symbol.

However, the Sketch file that I’m using for pulling designs into Axure is large. So rather than stay within that and risk corrupting the visual design source of truth, I copied smaller design elements into a new Sketch file.

An issue that I had on the Axure side with this workflow was overloading a project with too much Sketch-pasted content. This created noticeable performance issues - particuarly in one page with a repeater. So, I’ve started exporting static sections of Sketch layouts as images into Axure instead. Pre-defined components with states (from libraries), are overlaid on those static images e.g. buttons and dropdowns.

Another mention in this thread of the possible problem of empty folders in Sketch:

As a postscript on error jargon:

Does the error message ‘Exception has been thrown by the target of an invocation.’ mean somethiing like ‘something that doesn’t exist can’t be created’ - in this case the programmatic expectation of content in a folder?