You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"logging_tips": "To get more info on the failing request, refer to https://docs.oracle.com/en-us/iaas/tools/python/latest/logging.html for ways to log the request/response details.",
106
+
"troubleshooting_tips": "See https://docs.oracle.com/iaas/Content/API/References/apierrors.htm#apierrors_400__400_invalidparameter for more information about resolving this error. If you are unable to resolve this None issue, please contact Oracle support and provide them this full error message.",
"logging_tips": "To get more info on the failing request, refer to https://docs.oracle.com/en-us/iaas/tools/python/latest/logging.html for ways to log the request/response details.",
136
+
"troubleshooting_tips": "See https://docs.oracle.com/iaas/Content/API/References/apierrors.htm#apierrors_400__400_invalidparameter for more information about resolving this error. If you are unable to resolve this None issue, please contact Oracle support and provide them this full error message.",
"logging_tips": "To get more info on the failing request, refer to https://docs.oracle.com/en-us/iaas/tools/python/latest/logging.html for ways to log the request/response details.",
166
+
"troubleshooting_tips": "See https://docs.oracle.com/iaas/Content/API/References/apierrors.htm#apierrors_400__400_invalidparameter for more information about resolving this error. If you are unable to resolve this None issue, please contact Oracle support and provide them this full error message.",
167
+
},
168
+
"reason": "Invalid tags",
169
+
"request_id": TestDataset.mock_request_id,
170
+
},
171
+
],
172
+
[
173
+
"oci ServiceError",
174
+
ServiceError(
175
+
status=404,
176
+
code="BucketNotFound",
177
+
message="Either the bucket named 'xxx' does not exist in the namespace 'xxx' or you are not authorized to access it",
"message": f"{STATUS_CODE_MESSAGES['404']}\nEither the bucket named 'xxx' does not exist in the namespace 'xxx' or you are not authorized to access it\nOperation Name: put_object.",
185
+
"service_payload": {
186
+
"target_service": None,
187
+
"status": 404,
188
+
"code": "BucketNotFound",
189
+
"opc-request-id": None,
190
+
"message": "Either the bucket named 'xxx' does not exist in the namespace 'xxx' or you are not authorized to access it",
191
+
"operation_name": "put_object",
192
+
"timestamp": None,
193
+
"client_version": None,
194
+
"request_endpoint": None,
195
+
"logging_tips": "To get more info on the failing request, refer to https://docs.oracle.com/en-us/iaas/tools/python/latest/logging.html for ways to log the request/response details.",
196
+
"troubleshooting_tips": "See https://docs.oracle.com/iaas/Content/API/References/apierrors.htm#apierrors_404__404_bucketnotfound for more information about resolving this error. If you are unable to resolve this None issue, please contact Oracle support and provide them this full error message.",
197
+
},
198
+
"reason": "Either the bucket named 'xxx' does not exist in the namespace 'xxx' or you are not authorized to access it" ,
199
+
"request_id": TestDataset.mock_request_id,
200
+
},
73
201
],
74
202
[
75
203
"oci ClientError",
76
204
ConfigFileNotFound("Could not find config file at the given path."),
77
205
{
78
206
"status": 400,
79
-
"message": "Something went wrong with your request.",
207
+
"troubleshooting_tips": f"For general tips on troubleshooting: {AQUA_TROUBLESHOOTING_LINK}",
208
+
"message": STATUS_CODE_MESSAGES["400"],
80
209
"service_payload": {},
81
210
"reason": "ConfigFileNotFound: Could not find config file at the given path.",
"Authorization Failed: Could not create resource. Operation Name: create_resources.",
121
+
f"{STATUS_CODE_MESSAGES['404']}\nThe required information to complete authentication was not provided or was incorrect.\nOperation Name: create_resources.",
117
122
],
118
123
[
119
124
"oci ServiceError",
120
-
dict(
125
+
dict(# noqa: C408
121
126
status_code=404,
122
127
reason="Testing ServiceError happen when get_job_run.",
"Authorization Failed: The resource you're looking for isn't accessible. Operation Name: get_job_run.",
147
+
f"{STATUS_CODE_MESSAGES['404']}\nThe required information to complete authentication was not provided or was incorrect.\nOperation Name: get_job_run.",
'{"status": 400, "message": "Something went wrong with your request.", "service_payload": {}, '
406
-
'"reason": "The chosen model \'test_model_id\' is currently disabled and cannot be '
407
-
"imported into AQUA. Please verify the model's status on the Hugging Face Model "
408
-
'Hub or select a different model.", "request_id": "###"}'
440
+
ReplyDetails(
441
+
status=400,
442
+
troubleshooting_tips=f"For general tips on troubleshooting: {AQUA_TROUBLESHOOTING_LINK}",
443
+
message=STATUS_CODE_MESSAGES["400"],
444
+
service_payload= {},
445
+
reason="The chosen model \'test_model_id\' is currently disabled and cannot be imported into AQUA. Please verify the model\'s status on the Hugging Face Model Hub or select a different model.",
0 commit comments