Skip to content
This repository was archived by the owner on Jan 21, 2026. It is now read-only.
This repository was archived by the owner on Jan 21, 2026. It is now read-only.

Error after updating to 2.6.0 #712

@d-winter

Description

@d-winter

Hi,
after updating I get the following error:

ERROR:@google-cloud/trace-agent: TraceWriter#publish: Received error status code 400. Original error: ApiError: Invalid value at 'traces.traces[0].spans[0].labels[7].value' (TYPE_STRING), 9154848679131446000
Invalid value at 'traces.traces[1].spans[0].labels[7].value' (TYPE_STRING), 9154848679131446000
Invalid value at 'traces.traces[2].spans[0].labels[7].value' (TYPE_STRING), 9154848679131446000

I have got a very basic config, which is loaded at the very start of the app:

require('@google-cloud/trace-agent').start({
  enhancedDatabaseReporting: true,
  logLevel: 4,
  ignoreUrls: [/^\/healthz/, /^\/ready/], // ignore the "/healthz" and "/ready" endpoints.
});

require('./dist/system-server/main');

Running with the previous version does work fine.
Any idea? I saw in the changelog that empty spans are not allowed, but could not find a way how to fix the error above.

Thanks in advance
Daniel

Metadata

Metadata

Assignees

Labels

api: cloudtraceIssues related to the googleapis/cloud-trace-nodejs API.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions