app:Validate and app:package Unexpected token › R in JSON at position 0 error
Closed this issue · 2 comments
TosiRikhard commented
Expectations
App validation in a CI CD devops pipeline to validate and package app
Reality
Steps to Reproduce
- Install devops ubuntu image in pipeline
- Install zcli
- add enviroment variables for zcli CI CD pipeline
- run zcli apps:validate
Issue details
- Command: zcli apps validate
- Version: 1.0.0-beta.15
- OS: ubuntu
There is no more detailed error to try to debug this issue further.
osolliec commented
I have the same issue, after successfully logging in with an API token.
metasal1 commented
This happens when the app id is different in the zcli.apps.config.json from the app id in your instance.
Fastest way to resolve is to upload a new version of the app :- zcli apps:create
Manually remove the old version
Alternatively you can grab the app id from your instance and update your zcli.apps.config.json file with the correct number.