Random 404 responses to ExecuteRichApiRequest http POST requests
How can I prevent frequent 404 responses to a Post request to "ExecuteRichApiRequest" (https://usc-excel.officeapps.live.com/x/_vti_bin/EwaInternalWebService.json/ExecuteRichApiRequest?waccluster=US1 ) in my JavaScript API-built excel add-on?
I recently began encountering frequent but intermittent RichApi internal errors all over my plugin, where I had never had issues before. Using a function to retry failed data load processes or placing 1-second timeouts between function calls seem to work as a temporary solution, suggesting a timing issue, but I'm not sure the actual cause of the 404 or why async/await functions and "await context.sync()" doesn't accomplish the same thing.
What could be causing this issue, and how can I fix it?
Thanks in advance for any help.
UPDATE: Bizarrely, I resolved this situation by reverting the project to an old commit and manually merging all of the updates back in within the IDE. The final project has no discernable difference from the version getting all of the 404s, but its working now. I guess this is where I shrug and move on...