Partner Center: Microsoft Store submission API calls always return HTTP 409 for one of the applications

Hello World 1 Reputation point
2020-09-17T14:09:47.26+00:00

I am unable to use Microsoft Store submission API to manage one of my apps. I wrote a script that updates submissions on the flight, based on the documentation, and it works well with one of my apps, but not at all with another.

For example, I make a request to the following URL:

wget --header "Authorization: Bearer <token>" https://manage.devcenter.microsoft.com/v1.0/my/applications/{app_id}/listflights  
  

and in response, I always get HTTP 409:

{"code":"InvalidState","message":"This application uses features that are not supported by the submission API. To perform this operation, use the Dev Center dashboard.","target":"application"}'  

I read that the API cannot be used with the apps that utilize Store-managed consumables (but I only use durables), and with mandatory app updates.

This API cannot be used with apps or add-ons that use mandatory app updates and Store-managed consumable add-ons. If you use the Microsoft Store submission API with an app or add-on that uses one of these features, the API will return a 409 error code. In this case, you must use Partner Center to manage the submissions for the app or add-on.

(source)

I had mandatory app updates configured on my non-flighted submission and on some of the flights. I did updates to all of them, disabling the checkbox, but it didn't help.

Clearly something else is wrong with my app's configuration. Are there any other conditions that can prevent me from using the API? Perhaps, instead of making submissions that uncheck "make this update mandatory" checkbox, maybe I should remove all the flights and create them again?

----------

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
35,992 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Roy Li - MSFT 31,826 Reputation points Microsoft Vendor
    2020-09-23T01:51:45.703+00:00

    Hello,

    I'd suggest you to use the partner center to manage your app like the error message mentioned. Based on the error message, your app contains Store-managed consumable add-ons or add-ons that use mandatory app updates, this kind of apps is not supported to use this API.

    Thank you.

    0 comments No comments