{"record":{"id":"aa6d75144a396932","repo":"deepseek-ai/deepseek-harness","slug":"client-api-method-json-stringify-this-namesp","errorCode":null,"errorMessage":"client api: method ${JSON.stringify(`${this.namespace}/${method}`)} conflicts with its namespace service","messagePattern":"client api: method (.+?)/(.+?)`\\)\\} conflicts with its namespace service","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/api/gateway/src/client/index.ts","lineNumber":449,"sourceCode":"  static assertMethodAvailable(namespace: string, method: string): void {\n    if (REMOTE_NAMESPACE_FIELDS.has(method) || method in RemoteNamespaceService.prototype) {\n      throw new Error(`client api: method ${JSON.stringify(`${namespace}/${method}`)} conflicts with its namespace service`)\n    }\n  }\n\n  constructor(\n    ctx: Context,\n    name: string,\n    private readonly invokeRemote: InvokeRemote,\n  ) {\n    super(ctx, remoteServiceKey(name))\n    this.namespace = name\n  }\n\n  assertMethodAvailable(method: string): void {\n    RemoteNamespaceService.assertMethodAvailable(this.namespace, method)\n    if (method in this && !this.methods.has(method)) {\n      throw new Error(`client api: method ${JSON.stringify(`${this.namespace}/${method}`)} conflicts with its namespace service`)\n    }\n  }\n\n  get empty(): boolean {\n    return this.methods.size === 0\n  }\n\n  has(kind: 'direct' | 'scoped', method: string): boolean {\n    return this.methods.get(method)?.[kind] !== undefined\n  }\n\n  installDirect(descriptor: InvocationDescriptor, token: MountToken): void {\n    this.install(descriptor.method, 'direct', { descriptor, token })\n  }\n\n  installScoped(descriptor: InvocationDescriptor, projection: ScopedProjection, token: MountToken): void {\n    this.install(descriptor.method, 'scoped', { descriptor, projection, token })\n  }","sourceCodeStart":431,"sourceCodeEnd":467,"githubUrl":"https://github.com/deepseek-ai/deepseek-harness/blob/b150a551b8d465e31e418e1b2eaf5e79bbb7d28e/packages/api/gateway/src/client/index.ts#L431-L467","documentation":"Error \"client api: method ${JSON.stringify(`${this.namespace}/${method}`)} conflicts with its namespace service\" thrown in deepseek-ai/deepseek-harness.","triggerScenarios":"Thrown at packages/api/gateway/src/client/index.ts:449 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Rename the method so it does not conflict with its namespace service."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"b150a551b8d465e31e418e1b2eaf5e79bbb7d28e","analyzedAt":"2026-08-24T18:12:29.105Z","schemaVersion":2},"datasetVersion":"2026-08-24T22:17:12.610Z"}