We have a slightly convoluted use case, but we attempt to create a PM to a group of users. At times some of those users don’t yet exist in Discourse. We create the missing users on the fly and attempt to re-post, but subsequent posts fail with the same error message. Are POST requests being cached?
Steps to reproduce :
- Try to create a private message to user that doesn’t exist via api. --> API correctly returns 422 status code, target user not found.
- Create missing target user via API.
- Retry step 1 --> still fails with the same error code.
- Update the post body and retry --> PM successfully posted.
I’d expect step #3 to create PM.