SAP Knowledge Base Article - Public

2654609 - "A resource with that name and type already exists in the folder." error appears when updating existing files in SAP Analytics Cloud

Symptom

  • Error "A resource with that name and type already exists in the folder." appears when trying to import file (story, folder, model) in SAP Analytics Cloud with "Update existing object" option enabled.
  • When using the option "Drop Objects" importing is successful, but dropping all the objects, models will remove the already defined access rights as per Creating an Import.
  • Error observed in Console tab: "Nothing to import. - Error".

Environment

  • SAP Analytics Cloud 2019

Reproducing the Issue

  1. Create a story in user’s private folder (My Files) on "test - A" system.
  2. Copy the story to the public folder.
  3. Export the public story from test system "test - A".
  4. Import the objects exported from "test - A" into a "production - B" system.
  5. Go back to “test - A”  and delete the story from the public folder.
  6. Do some changes to the private story and copy it again to the public folder.
  7. Export the public story.
  8. In "production - B" tenant, import the newly exported story with “Update existing objects…” option.
  9. Observe the error after the import process is done.

Cause

  • This is by-design of current SAC product.
  • Under step #5 above, the story in the public folder of the test tenant - which has been exported from system "test - A" and imported to system "production - B" - has been deleted.
  • Thus the story ID has been changed after re-publishing into the public folder, therefore the objects can't be overwritten in the "production - B" system and error message is shown.

Resolution

Workaround:

  • After you have exported from test tenant the public story and imported it into the production tenant, instead of deleting the source story in the public folder and making a copy of the original story with new update, do "SaveAs" from within the original story and replace the copy in the public folder with the new version. 
  • That way, if we export this story again, the exported version will preserve its old ID but with the updated content. 
  • Importing this new version into the production tenant with "Update Existing Objects" import option should update the previously imported story accordingly.

See Also

Your feedback is important to help us improve our knowledge base.
Please rate how useful you found this article by using the star rating feature at the beginning of this article.
Thank you.

Keywords

SAP Cloud for Planning, sc4p, c4p, cforp, cloudforplanning, EPM-ODS, Cloud for Analytics, Cloud4Analytics, CloudforAnalytics, Cloud 4 Planning, BOC, SAPBusinessObjectsCloud, BusinessObjectsCloud, BOBJcloud, BOCloud., SAC, SAP AC, Cloud-Analytics, CloudAnalytics, SAPCloudAnalytics , KBA , LOD-ANA-ACN , SAC Content Network , Problem

Product

SAP Analytics Cloud 1.0