Description
Bug description
When trying to publish a developer portal created in APIM, it will end up as failed every time. After some debugging i figured out that if you remove the sign-in widget and sign-up widget from the developer portal design, the error subsides and you are allowed to publish the portal.
Reproduction steps
- Go to an APIM instance
- Try to open the developer portal
- Press F12 to capture API requests
- See the error described below appear
- Try to remove the sign in base page widget and the sign up base page widget
- See that the error subsides
Expected behavior
When publishing the developer portal, it should be published without errors.
Is your portal managed or self-hosted?
Managed
API Management service name
Environment
- Operating system: Tested from Linux VM
- Browser: Firefox, Safari and Chrome
- Version: [e.g., 22]
Additional context
The error that is thrown when trying to add the sign-in widget:
The developer portal keeps throwing this exception when going to signin page and signup page:
Uncaught (in promise)
Object { code: "MissingOrIncorrectVersionParameter", message: "API version query parameter is not specified or was specified incorrectly. Supported versions: 2021-04-01-preview,2021-08-01,2021-12-01-preview,2022-04-01-preview,2022-08-01,2022-09-01-preview,2023-03-01-preview,2023-05-01-preview,2023-09-01-preview Example query param format: api-version=SupportedVersion", details: null }
The API call which is sent to produce the error above:
GET
https://bnnweapimdev-test.management.azure-api.net/subscriptions/000/resourceGroups/000/providers/Microsoft.ApiManagement/service/bnnweapimdev-test/tenant/settings?api-version=2019-12-01
[HTTP/1.1 400 Bad Request 16ms]