sandbox-memo

開発してて出たエラーをメモる場所

2023-01-01から1年間の記事一覧

postmarkのinbound rules apiでハマったのでメモ

Inbound rules triggers API | Postmark Developer Documentation postmarkのinbound rules api(受信拒否アドレス、ドメインを設定するapi)にpostでルール追加しようとしたら、エラーになった。 ErrorCodeは101らしいが、公式のエラーコードのドキュメント…

postmarkのservers apiが422エラーになってハマったのでメモ

sendgridが大嫌いなのでメール配信サービスはpostmarkを使っている。 postmarkで新規サーバーを作成する処理をつくったら、謎にエラーになったのでメモ。 Servers API | Postmark Developer Documentation このAPIに対してPOSTでリクエストしたらエラーにな…

firebase emulators:export ./をしたら全てがrmされた

まじで意味がわからないんだけどとりあえずemulatorのファイルを出力してみようと雑に firebase emulators:export ./ をしたら、全てのファイルがrmされた。 export先のディレクトリをまずrmdir -fするらしい。 remoteにpushしてなかった10時間分の作業内容…

cloud functionsで参照型の値を含むobjectを扱おうとしたらUncaught RangeError: Maximum call stack size exceeded

cloud functions経由でfirestoreからデータ取得する処理がなんかInternal errorになったのでメモ。 { name: "hogehoge", email: "aaaa@example.com" } こんな感じのuserDoc的を返す処理で昨日までは普通に動いてたんだけど、 { name: "hogehoge", email: "aa…