-
Notifications
You must be signed in to change notification settings - Fork 12
Description
Steps to reproduce
Bug
The dashboard uses a hardcoded API version 2023-10-01-preview for all resource types.
Custom resource types (e.g., Radius.Data/postgreSqlDatabases) that use different
API versions (e.g., 2025-08-01-preview) fail to display.
Error occurred when running the tutorial application.
Error
api version "2023-10-01-preview" is not supported for resource type
"Radius.Data/postgreSqlDatabases" by location "global"
Suggested Fix
Make the API version dynamic or query supported versions from the resource type.
Observed behavior
Error
Message
Request failed: 400:
{
"error": {
"code": "BadRequest",
"message": "api version "2023-10-01-preview" is not supported for resource type "Radius.Data/postgreSqlDatabases" by location "global"",
"target": "/planes/radius/local/resourcegroups/my-group/providers/Radius.Data/postgreSqlDatabases/postgresql"
}
}
Stack Trace
Error: Request failed: 400:
{
"error": {
"code": "BadRequest",
"message": "api version "2023-10-01-preview" is not supported for resource type "Radius.Data/postgreSqlDatabases" by location "global"",
"target": "/planes/radius/local/resourcegroups/my-group/providers/Radius.Data/postgreSqlDatabases/postgresql"
}
}
at f.makeRequest (http://localhost:7007/static/main.58765430.js:2:518)
at async f.getResourceById (http://localhost:7007/static/main.58765430.js:1:26908)
at async f.listResources (http://localhost:7007/static/main.58765430.js:1:26781)
Desired behavior
The dashboard should list the resources without an error
Workaround
No response
Additional context
CLI Version Information:
RELEASE VERSION BICEP COMMIT
0.54.0 v0.54.0 0.40.2 f06410904c8b92bcc3aaa1f1ed6450981e510107
Control Plane Information:
STATUS VERSION
Installed 0.54.0
Would you like to support us?
- Yes, I would like to support you
AB#18139