Git Product home page Git Product logo

Comments (11)

itoys avatar itoys commented on September 23, 2024 6

We have a problem with "/" in app names, instant fix for you is the use of ~~ instead of / e.g.:

My-Company-Name~~MyApp

We are on the way to fix it.

Thanks

from code-push-vsts-extension.

itoys avatar itoys commented on September 23, 2024

Hi @GeorgiMateev
Owner is redundant in App Name task definition field, in your case just use MyApp not My-Company-Name/MyApp

Thanks!

from code-push-vsts-extension.

GeorgiMateev avatar GeorgiMateev commented on September 23, 2024

Hello,
Thanks for your reply. I removed the owner and now the error is:
[Error] App "MyApp" does not exist.

from code-push-vsts-extension.

itoys avatar itoys commented on September 23, 2024

It's possible if you use wrong Access Key

from code-push-vsts-extension.

GeorgiMateev avatar GeorgiMateev commented on September 23, 2024

Strange, In the documentation is stated to use the keys returned from:

appcenter codepush deployment list -a MyCompany/MyApp

But they don't work at all.
I've copied and pasted the key for Staging.
The key was different than the current one and now the error is:
[Error] Invalid access key.
I tested this with and without owner in the name of the app.
I tried with the Production environment and key and I got the same error.
I created a third environment but I'm not able to select it in the VSTS task.

From App Center -> Account Settings -> Access Tokens I created a new key and now again I have the App not found error, but at least it says I'm logged in, just like with the old key.:
Successfully logged-in. Your session file was written to C:\Users\VssAdministrator\AppData\Local.code-push.config. You can run the code-push logout command at any time to delete this file and terminate your session.

from code-push-vsts-extension.

itoys avatar itoys commented on September 23, 2024

Access Key - it's not a deployment key
You should create token as mentioned here

$ appcenter tokens create -d "VSTS Integration"

And then paste it in the Access Key field in Release task configuration

from code-push-vsts-extension.

GeorgiMateev avatar GeorgiMateev commented on September 23, 2024

Nope, still no luck when I tried the above.
I don't think the initial issue is related to log in and app name, because in the task it says I'm successfully logged in and it looks like it's able to find the /.

Do you guys have API call logs in your back end to see why the POST request fails?
Could it be because I have dashes in the company name? (I don't believe it since it's url safe.)

Did you managed to reproduce it on your end with the exported build definitions that I gave you in the App Center chat?

Thanks.

from code-push-vsts-extension.

GeorgiMateev avatar GeorgiMateev commented on September 23, 2024

Yep, that's it! It works fine with this fix.
Thanks a lot!

from code-push-vsts-extension.

DavidNorena avatar DavidNorena commented on September 23, 2024

+1

from code-push-vsts-extension.

buddhamangler avatar buddhamangler commented on September 23, 2024

@itoys Clearly this is still an issue? I ran into this issue just now and luckily managed to come across this so i could solve it. This particular issue would affect anyone that converted to an organization.

from code-push-vsts-extension.

alexandergoncharov-zz avatar alexandergoncharov-zz commented on September 23, 2024

Hi all ,

I'm working on it. I'll let you know about progress.

from code-push-vsts-extension.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.