Unable to publish CloudWatch latency and result metrics with timestamp

1

reproduction

  1. Created Canary
  2. specific free api (https://weather.tsukumijima.net/api/forecast/city/400040)
  3. I didn't edit lambda script not at all(default).
  4. Not use VPC

what happened

  • Summary status is failed problem
  • but step is success step is success
  • I found logs published lambda is below
ERROR	Execution error: Unable to publish CloudWatch latency and result metrics with timestamp: Tue Oct 04 2022 03:52:10 GMT+0000 (Coordinated Universal Time) for canary name: test result: PASSED with start time: Tue Oct 04 2022 03:52:17 GMT+0000 (Coordinated Universal Time) and end time: Tue Oct 04 2022 03:52:17 GMT+0000 (Coordinated Universal Time) and stepName: 検証 weather.tsukumijima.net, Exception:  InvalidParameterValue: The value for parameter MetricData.member.1.Dimensions.member.2.Value contains non-ASCII characters.

What is any hint or solution?

thank u

daichi
asked 2 years ago438 views
1 Answer
0

I ran into the same problem. It seems that if the string "検証" is included, the error occurs due to a character code problem. Why don't you try using only English instead of Japanese?

takagi
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions