Skip to content

← All questions

GET replays fine, the POST in the same scenario misses on every run

Asked 7,960 views3 answers

Recorded, committed, replays fine for a day, then the POST starts failing and never recovers. The GET against the same endpoint keeps working.

bash
bun run sdods har replay -p demo-shop -e staging -t @har:posts --strict
text
Error: HAR strict mode: no recorded entry for POST https://jsonplaceholder.typicode.com/posts 0736c37d8e28 in /home/tanvi/work/projects/demo-shop/har/staging/posts.api.har

The entry is in the file. I opened it and the URL and method match. What is 0736c37d8e28?

asked by Tanvi Bhatt126 ·

3 answers

Know the answer?

Reviewed before it appears. Wrap commands and output in triple backticks and they will render as a code block.

Have a different question? Ask it.

Related