ServiceNow / sncicd-install-app

MIT License
6 stars 6 forks source link

Installing Custom Version of Store App throws an error #17

Open ramyaramdasan opened 2 years ago

ramyaramdasan commented 2 years ago

Hi,

I have set up a pipeline to ship customizations made to a Store App from one instance to another. The install step status shows a success, but it shows error in its log and fails to install the custom version on the target instance. Here are the details:

Error: Unable to locate version for install (Http Response: 400)

image

YML snippet: image

Kindly help here as we are unable to proceed with the pipeline set-up.

Thanks Ramya

phifogg commented 2 years ago

Hi Ramya, quick feedback, I believe this is on the wrong action as your problem is with installapp - not apply changes. correct?

As a first step in trouble shooting, when you log in to the target instance and check the 'my company applications' list, ist the customization available for install there? (No need to execute right now, just want to double check it is listed)

Daniel

ramyaramdasan commented 2 years ago

Hi Daniel,

Thanks for your quick response. Sorry about picking the wrong action. Do you advise me to close this issue and open a new one under correct action? I remember there was a way to transfer an issue from one repo to other, don't see it an available option to me. As an admin, will you be able to do it? If no, I shall do it manually on install-app action.

I was able to see the customization version available under Plugins. I believe that's where Store Apps and their customizations get listed. At the moment I'm unable to access the DPP Instances as our sso-uat is down. Once it is up, I will check under My Company Application and let you know.

Thanks Ramya

ramyaramdasan commented 2 years ago

Hi Daniel,

I have checked the target instance and it has the custom versions listed under Plugins and not My Company Applications

image

chiarng commented 2 years ago

issue has been transferred

chiarng commented 2 years ago

was the demo app repo lagging again? also, try the API itself (REST API Explorer or Postman) and make sure the parameters/values are good. i'm pretty sure that error is coming from the instance...

App Customizations won't show up under My Company Applications, we ended up using that only for sys_app (scoped, global). App Customizations will only show up on the sys_store_app record, or this plugins (system applications --> all) view.

bandreit commented 2 years ago

@ramyaramdasan did you manage to solve this? I'm dealing with the same thing now :)

billsidea commented 1 year ago

We have run into this same exact issue as well. @ramyaramdasan or @bandreit, any luck getting this resolved or worked around?

bandreit commented 1 year ago

I did not manage to solve it :(. I have up on using the workflow for it. Sorry for the late reply @billsidea