Code Monkey home page Code Monkey logo

Comments (15)

elendil326 avatar elendil326 commented on May 22, 2024

Thanks for reporting this issue @tnsturm . Based on what you describe, it looks like when you create manually the submission through dev center, you try to create a new one from the extension without letting the first one complete, that is why you hit the error "Ingestion API can only update, delete, and commit submissions that are created through the API.". Please create the submission manually in Dev Center for the flight, submit it and let it finish. Then you should be able to use the extension for future submissions.

Let me know how it goes. Happy to clarify further if needed.

from windows-dev-center-vsts-extension.

elendil326 avatar elendil326 commented on May 22, 2024

I'm closing this issue since it is not related to the code.

from windows-dev-center-vsts-extension.

jzoooneee avatar jzoooneee commented on May 22, 2024

reopening this.

as per @tnsturm, i believe this was done through azure devops. I too am having the same issue.

I made sure I have no flight packages on pending in partner center. and have test group created.

I tried entering new flight name but threw this error : No flight with name "test app"

as suggested to use flight group name. threw this error : "Ingestion API can only update, delete, and commit submissions that are created through the API. Please delete the current in-progress submission and create one using the API"

image

any thoughts?

from windows-dev-center-vsts-extension.

louis-wuitton avatar louis-wuitton commented on May 22, 2024

Hi @jzoooneee , please make sure the flight name you put matches exactly to the flight name it appears on the partner center. You can also give it a try to create submission on the flight directly on partner center, let it run and finish, as suggested before.

from windows-dev-center-vsts-extension.

jzoooneee avatar jzoooneee commented on May 22, 2024

there is no specified flight name in partner center. I would have to create a new package flight in order for it to be available.. However, when I do that, I get this error.

2020-09-02T17:08:01.2191797Z ##[error]Status 400: {"code":"InvalidOperation","data":[],"details":[],"message":"Ingestion API can only update, delete, and commit submissions that are created through the API. Please delete the current in-progress submission and create one using the API","source":"Ingestion Api","target":"applicationSubmission"} CorrelationId: e6ff5c4b-4037-48df-a099-1e2565e633a2

from windows-dev-center-vsts-extension.

louis-wuitton avatar louis-wuitton commented on May 22, 2024

Do you see the error message on partner center? Also do you see any submission on partner center regardless of flights?

from windows-dev-center-vsts-extension.

jzoooneee avatar jzoooneee commented on May 22, 2024

No i don't see any error. And yes there's a pending submission to publish to store.

image

from windows-dev-center-vsts-extension.

louis-wuitton avatar louis-wuitton commented on May 22, 2024

Emm give it a try to delete that pending submission, then create a new package flight.

from windows-dev-center-vsts-extension.

jzoooneee avatar jzoooneee commented on May 22, 2024

delete the pending submission and same error. when there's no flight package created.

I also tried creating a flight package and ticked the Delete pending submissions option but still no dice.

##[error]Error: No flight with name "test app" was found
    at request.performAuthenticatedRequest.then.body (D:\a\_tasks\store-flight_13dee6a7-3698-4b12-bbb4-b393560a3ebc\0.2.28\local\flight.js:124:19)
    at _fulfilled (D:\a\_tasks\store-flight_13dee6a7-3698-4b12-bbb4-b393560a3ebc\0.2.28\node_modules\q\q.js:854:54)
    at self.promiseDispatch.done (D:\a\_tasks\store-flight_13dee6a7-3698-4b12-bbb4-b393560a3ebc\0.2.28\node_modules\q\q.js:883:30)
    at Promise.promise.promiseDispatch (D:\a\_tasks\store-flight_13dee6a7-3698-4b12-bbb4-b393560a3ebc\0.2.28\node_modules\q\q.js:816:13)
    at D:\a\_tasks\store-flight_13dee6a7-3698-4b12-bbb4-b393560a3ebc\0.2.28\node_modules\q\q.js:624:44
    at runSingle (D:\a\_tasks\store-flight_13dee6a7-3698-4b12-bbb4-b393560a3ebc\0.2.28\node_modules\q\q.js:137:13)
    at flush (D:\a\_tasks\store-flight_13dee6a7-3698-4b12-bbb4-b393560a3ebc\0.2.28\node_modules\q\q.js:125:13)
    at _combinedTickCallback (internal/process/next_tick.js:73:7)
    at process._tickCallback (internal/process/next_tick.js:104:9)
##[error]Error: No flight with name "test app" was found

from windows-dev-center-vsts-extension.

louis-wuitton avatar louis-wuitton commented on May 22, 2024

Did you create a new package flight called "test app"?

from windows-dev-center-vsts-extension.

jzoooneee avatar jzoooneee commented on May 22, 2024

I did, that was the last comment i mentioned
#57 (comment)

also... in the Windows Store task documentation. It mentioned that flight name is the Friendly name of the flight group.

I have already have a flight group called test app and that doesn't seem to work as well.

image

from windows-dev-center-vsts-extension.

louis-wuitton avatar louis-wuitton commented on May 22, 2024

When I saw your screenshot I didn't see a flight called "test app" created. Was that because you got this error?

2020-09-02T17:08:01.2191797Z ##[error]Status 400: {"code":"InvalidOperation","data":[],"details":[],"message":"Ingestion API can only update, delete, and commit submissions that are created through the API. Please delete the current in-progress submission and create one using the API","source":"Ingestion Api","target":"applicationSubmission"} CorrelationId: e6ff5c4b-4037-48df-a099-1e2565e633a2

from windows-dev-center-vsts-extension.

jzoooneee avatar jzoooneee commented on May 22, 2024

Yes correct. I deleted the flight package "test app" because it threw that InvalidOperation error.

from windows-dev-center-vsts-extension.

louis-wuitton avatar louis-wuitton commented on May 22, 2024

From this comment: #57 (comment)

I think what you can give it a try is to create the flight "test app", make sure it appears on partner center, then create a submission directly on partner center to the test app flight. There is no need to run the extension throughout this process.

Then if you can successfully submit a submission on partner center, then give it a try on the extension again.

from windows-dev-center-vsts-extension.

gentledepp avatar gentledepp commented on May 22, 2024

Why is this issue closed? It is nearly 2022 and I still have this issue.
Or is this library deprecated just like UWP?

Our goal was to run a release in azure devops for our UWP app and let it create a new package flight named after $(Build.BuildNumber) (i.e. 2021121.0) for our flight group "Beta testers"

However, no matter what I try, this does not work.

  1. I used "Beta testers" as friendly name
    Result:
    image

  2. I configured "$(Build.BuildNumber)" as friendly name
    Result:
    image

Sure there isn't! I want it to create a new package flight without me having to manually upload the artifacts.

  1. I add a new package flight manually and call it "2.2112.1.0"
    image
    Result:
    image

4... changed the task to "delete pending submissions":

steps:
- task: MS-RDX-MRO.windows-store-publish.flight-task.store-flight@0
  displayName: 'Internal test flight'
  inputs:
    serviceEndpoint: 'Windows Dev Center'
    appId: THIS-IS-A-SECRET
    flightName: '$(Build.BuildNumber)'
    packagePath: '**/*.msixupload'
    force: true

Result:
image

Please delete the current in-progress submission and create one using the API" - HOW? 😳

How on earth shall we automate our build then?
I cannot find any helpful instructions on that topic.
Do we need to actually use different APIs?
Please point me in the right direction!

from windows-dev-center-vsts-extension.

Related Issues (20)

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.