diff --git a/packages/core/sdk/src/APIClient.ts b/packages/core/sdk/src/APIClient.ts index f110816aae..36e7eac298 100644 --- a/packages/core/sdk/src/APIClient.ts +++ b/packages/core/sdk/src/APIClient.ts @@ -363,7 +363,7 @@ export class APIClient { } let url = name.split('.').join(`/${encodeURIComponent(of) || '_'}/`); - url += `:${actionName}`; + url += `:${actionName.toString()}`; const config: AxiosRequestConfig = { url }; if (['get', 'list'].includes(actionName)) { config['method'] = 'get';