oracle / oci-typescript-sdk

Oracle Cloud Infrastructure SDK for TypeScript and JavaScript
https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/typescriptsdk.htm
Other
68 stars 50 forks source link

Type error when trying to use oci-aidocument #254

Open doberkofler opened 7 months ago

doberkofler commented 7 months ago

Type error when trying to use oci-aidocument:

The OciEnabledServiceSet is empty, all OCI services are enabled
error from defaultErrorFunction:  TypeError: serviceCode.toLowerCase is not a function
    at OciError (/Users/doberkofler/MyDev/ljs_app/trunk/examples/AI/lib/error.ts:27:106)
    at Object.handleErrorResponse (/Users/doberkofler/MyDev/ljs_app/trunk/examples/AI/lib/helper.ts:41:12)
    at Function.<anonymous> (/Users/doberkofler/MyDev/ljs_app/trunk/examples/AI/lib/circuit-breaker.ts:28:29)