It seems that you are encountering an issue with the deprecated Computer Vision API version (2023-04-01-preview). To resolve this, you should upgrade to the latest General Availability (GA) version of the Computer Vision service. The deprecated versions (1.0, 2.0, 3.0, and 3.1) will be retired on September 13, 2026, and it's recommended to migrate to the Computer Vision 3.2 API or the Image Analysis 4.0 API, which is currently in public preview.
You can follow the quickstart guides provided in the Azure documentation to assist with the migration process:
- For Computer Vision 3.2 API: QuickStart
- For Image Analysis 4.0 API: QuickStart
Ensure that all your resources are updated accordingly to avoid reliance on deprecated services.