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
gefragt vor 2 Jahren444 Aufrufe
1 Antwort
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
beantwortet vor einem Jahr

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen