Save Failed (INVALID_CROSS_REFERENCE_KEY)

Issue #46 resolved
Mike Bordon created an issue

When a Force session expires or somehow becomes "stale" from outside the IDE, all IC operations result in "Save Failed" with a Status Code of "INVALID_CROSS_REFERENCE_KEY". Restarting the IDE seems to resolve the issue.

Comments (3)

  1. Scott Wells repo owner

    1.0.9 has a partial fix for this. The user will still see the INVALID_CROSS_REFERENCE_KEY error, but the stale cache entry will be evicted and a subsequent save of the same file will then work properly.

  2. Scott Wells repo owner

    I plan to revisit this in the future to make the retry transparent to the end user, but at this point you don't have to close and reopen the project/IDE in order to clear the cache so I'm going to resolve this issue.

  3. Log in to comment