{"record":{"id":"a13dfad174ea240e","repo":"deepseek-ai/deepseek-harness","slug":"client-api-generated-remote-endpoint-field-j","errorCode":null,"errorMessage":"client api: generated Remote ${endpoint} field ${JSON.stringify(field)} has no strict codec","messagePattern":"client api: generated Remote (.+?) field (.+?) has no strict codec","errorType":"validation","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/api/gateway/src/client/index.ts","lineNumber":607,"sourceCode":"    codec: selected.parameter.codec,\n    parameterIndex: selected.index,\n  }\n}\n\nfunction requireStrictDescriptor(descriptor: InvocationDescriptor): void {\n  const endpoint = endpointOf(descriptor)\n  requireStrictCodec(descriptor.result, endpoint, 'result')\n  for (const parameter of descriptor.parameters) {\n    requireStrictCodec(parameter.codec, endpoint, parameter.wire)\n  }\n  if (descriptor.invocation.kind === 'context') {\n    requireStrictCodec(descriptor.invocation.codec, endpoint, descriptor.invocation.wire)\n  }\n}\n\nfunction requireStrictCodec(codec: TypertCodec, endpoint: string, field: string): void {\n  if (codec.mode !== 'strict') {\n    throw new Error(`client api: generated Remote ${endpoint} field ${JSON.stringify(field)} has no strict codec`)\n  }\n}\n\nfunction parse(codec: TypertCodec, value: unknown, endpoint: string, field: string): unknown {\n  if (codec.mode !== 'strict') {\n    throw new Error(`client api: generated Remote ${endpoint} field ${JSON.stringify(field)} has no strict codec`)\n  }\n  try {\n    return codec.schema.parse(value)\n  } catch (cause) {\n    throw new Error(`client api: ${endpoint} rejected ${JSON.stringify(field)}`, { cause })\n  }\n}\n\n/** The namespace retired before or during the call, so no request outcome exists. */\nfunction withdrawn(endpoint: string): RemoteResult<never> {\n  return internalFailure(`client api: Remote method ${endpoint} is no longer mounted`)\n}","sourceCodeStart":589,"sourceCodeEnd":625,"githubUrl":"https://github.com/deepseek-ai/deepseek-harness/blob/b150a551b8d465e31e418e1b2eaf5e79bbb7d28e/packages/api/gateway/src/client/index.ts#L589-L625","documentation":"Error \"client api: generated Remote ${endpoint} field ${JSON.stringify(field)} has no strict codec\" thrown in deepseek-ai/deepseek-harness.","triggerScenarios":"Thrown at packages/api/gateway/src/client/index.ts:607 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Define a strict codec for the field in the typert definition, or change the field to a type that has one."],"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"}