0
Help us understand the problem. What are the problem?

posted at

Error: Failed to parse template: 'utf-8' codec can't decode byte 0x83 in position XXX: invalid start byteの対処法

はじめに

sam local invoke時に題記のエラーが発生したので、対処法を調べてまとめます。

sam local invoke --skip-pull-image --event .\devfiles\event.json --template .\devfiles\template.yaml
Error: Failed to parse template: 'utf-8' codec can't decode byte 0x83 in position 734: invalid start byte

対処方法

template.yamlがUTF-8でなかったので、UTF-8で保存し直しました。

参考

Register as a new user and use Qiita more conveniently

  1. You can follow users and tags
  2. you can stock useful information
  3. You can make editorial suggestions for articles
What you can do with signing up
0
Help us understand the problem. What are the problem?