PLS-00123 is a compilation issue, and is not typically related to inserting records. Perhaps there is a trigger that refers to an invalidated program unit? Implicit recompilation of this invalidated program unit could then lead to PLS-00123.
Perhaps you can use the Compile Invalid Objects tool to ensure that all objects are valid.