5 Replies Latest reply: Jan 28, 2016 6:58 AM by Tomasz Hyzopski RSS

    Replace a published app

    Jean Philippe Golay

      Hi

      I try to replace an app that is published by a new one with REPOS REST API or .NET API

      The problem if I use qrs/app/upload?name=<appname>&replace=244dcc15-f61f-4602-ad26-91da4c0fb1b7

      I get an exception

        Internal error [LOCERR_GENERIC_INTERNAL_ERROR]:Internal error(Could not import file (ImportApp))

        {"Data at the root level is invalid. Line 1, position 1."}

       

      How can I achieve this do I need to unpublish before replace and if yes I can't find a REST Repos Api url to do it

       

      Thanks for your help