UnauthorizedOrNotFound trying to Create a VM Instance with OCI Cli
Summary
Error :
ServiceError:
{
"client_version": "Oracle-PythonSDK/2.148.0, Oracle-PythonCLI/3.52.1",
"code": "NotAuthorizedOrNotFound",
"logging_tips": "Please run the OCI CLI command using --debug flag to find more debug information.",
"message": "Authorization failed or requested resource not found.",
"opc-request-id": "51172A7BF9E14D538D7115534BCAFDBE/AEF86826A012A73FB5F3046929507844/A228BEBD549DACBF8F781D5A6E342A98",
"operation_name": "launch_instance",
"request_endpoint": "POST https://iaas.eu-frankfurt-1.oraclecloud.com/20160918/instances",
"status": 404,
"target_service": "compute",
"timestamp": "2025-03-11T14:01:24.099686+00:00",
"troubleshooting_tips": "See [https://docs.oracle.com/iaas/Content/API/References/apierrors.htm] for more information about resolving this error. If you are unable to resolve this issue, run this CLI command with --debug option and contact Oracle support and provide them the full error message."