cloud-trace-nodejs: Request contains an invalid argument

I am seeing this passing by but not logged to stderr so our error logging does not catch it.

  • I suggest logging to stderr
  • Can I debug this?
 ERROR:@google/cloud-trace: TraceWriter: error:  400 { [Error: Request contains an invalid argument.]
   code: 400,
  errors:
    [ { message: 'Request contains an invalid argument.',
        domain: 'global',
       reason: 'badRequest' } ] }

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 15 (15 by maintainers)

Most upvoted comments

The above fixes have been released with v0.6.0. We will soon be moving to a new logger so I’m going to put the logging to stderr item in the backlog once we have the new logger. Just to have some more information, what tools are you using to track stderr v stdout?

A fix for the large labels is put together here: https://github.com/GoogleCloudPlatform/cloud-trace-nodejs/pull/345.

A proposed fix for the object object problem is in the works here: https://github.com/GoogleCloudPlatform/cloud-trace-nodejs/pull/346 but may take some more iteration. We’ll be getting a release out with the label fix soon.