Hello everyone,
I have issue that I faced when I was working on Document Understanding project.
I have been searching solution for this issue for 2 days and I could not find out any solution.
I deployed a MLSkill on AICenter and I build a project by using DocumentUnderstandingFramework but Classify Document Scope activity is returning an error as;
Retry Scope - Classify: Request CorrelationId: 56774cbe-f686-4920-9343-c226495ed7ba
The server API version is greater than the version supported by the activity.
Here is my package versions;
UiPath.DocumentUnderstanding.ML.Activities v1.13.2
UiPath.IntelligentOCR.Activities v6.0.1
ML Package Version is 22.4.3.1
Here is my public API Url;
MLSkill Logs;
Traceback (most recent call last):
File “”, line 222, in predict
File “”, line 110, in validate_api_version
util.misc.ServiceException: Service Exception 406: InvalidApiVersion - api_version should be one of [‘1.2’]
2022-11-13 16:57:18,415 - uipath_core.plugin:metering_event:319 - INFO: [ correlation_id: c1c87802-56b5-4360-a05c-5251c0d46af3 ] [ prediction_id: ] - Metering-Server-Request-Time: 0.06910157203674316
2022-11-13 16:57:18,416 - uipath_core.plugin:run_model_function:638 - ERROR: Request failed, reason: Traceback (most recent call last):
File “/home/aicenter/.local/lib/python3.9/site-packages/uipath_core/plugin.py”, line 620, in run_model_function
output, metrics = function(*args, **kwargs)
File “/home/aicenter/.local/lib/python3.9/site-packages/uipath_core/plugin.py”, line 392, in _model_predict
return self._model_predict_with_context(user_data, **kwargs)
File “/home/aicenter/.local/lib/python3.9/site-packages/uipath_core/auth/auth_processing_filter.py”, line 75, in _decorator
return fn(*args, **kwargs)
File “/home/aicenter/.local/lib/python3.9/site-packages/uipath_core/logs/logger_mvc.py”, line 91, in _decorator
return fn(*args, **kwargs)
File “/home/aicenter/.local/lib/python3.9/site-packages/uipath_core/auth/auth_processing_filter.py”, line 25, in _decorator
return fn(*args, **kwargs)
File “/home/aicenter/.local/lib/python3.9/site-packages/uipath_core/plugin.py”, line 436, in _model_predict_with_context
raise result_dict[“predict_exception”]
uipath_core.exceptions.model_exceptions.ModelException: Service Exception 406: InvalidApiVersion - api_version should be one of [‘1.2’]
2022-11-13 16:57:18,417 - uipath_core.controller:handle_invalid_usage:133 - ERROR: {‘info’: ‘Prediction Failed’, ‘reason’: ‘{“message”: “Service Exception 406: InvalidApiVersion - api_version should be one of ['1.2']”, “stacktrace”: " File \“/microservice/main.py\”, line 74, in predict_with_metadata\n response, telemetry = service_internal.predict(context, doctype_name=model_name or self.doctype_name)\n File \“\”, line 222, in predict\n File \“\”, line 110, in validate_api_version\nutil.misc.ServiceException: Service Exception 406: InvalidApiVersion - api_version should be one of ['1.2']"}’}
Can you please help me with that problem?