Recently, I implemented a basic functionality in my project that sends a POST-request to the backend using a common wrapper function. This function utilizes 'fetch' and is called within an async/await context.
The body of the request consists of static data, including an ID and two dates. It seems pretty straightforward, but the wrapper-function would trigger a failure if the body is not supplied properly.
However, I encountered a peculiar issue where the request consistently fails with an NS_BINDING_ABORTED error message (with only one or two successful attempts out of around 100 retries).
I did some research and found out that this error usually indicates a cached response causing the request to be canceled. Despite having disabled caching and setting appropriate Header-Vars, the problem persists. Even adding random parameters to the URL does not seem to help much (although sometimes the OPTIONS-call goes through, the POST itself still fails).
It's worth mentioning that most of the post-requests in this project are made using the same wrapper function.
If anyone has any insights or suggestions on how to troubleshoot this issue, I would greatly appreciate it!