I had this issue because of timeouts not properly set ON BOTH my backend function and my frontend caller.