Closed Anitha-1997 closed 2 months ago
Unfortunately, with intermittent issues like you're having I'm not going to really be able to help you. I can suggest a few things:
Good luck!
Are you able to open up dev tools (F12) and see what the network calls says?
Since the issue occur intermittently, I have not been able to reproduce the error in user's system. When we try to debug, it always result in a successful response.
Closing this issue as answered. If you have additional questions or we did not answer your question, please open a new issue, ref this issue, and provide any additional details available. Thank you!
Since the issue occur intermittently, I have not been able to reproduce the error in user's system. When we try to debug, it always result in a successful response.
That's likely a race condition then, so you may need to restructure your code.
This issue is locked for inactivity or age. If you have a related issue please open a new issue and reference this one. Closed issues are not tracked.
Major Version
3.x
Minor Version Number
3.24.0
Target environment
SharePoint Framework
Additional environment details
I'm using node version 18.20.0.
Expected or Desired Behavior
I'm trying to create a new item in list and if there are any attachments added to a formik form, I am updating that item with the attachments.
Observed Behavior
It works properly in most of the scenario. But some users are getting an issue . Attachments doesn't seems to get attached. And it provides a log as below:
"TypeError: Failed to fetch at c (https://publiccdn.sharepointonline.com/dummysite.sharepoint.com/sites/AppStore/ClientSideAssets/f25c455d-16ce-453c-8f3f-538e4eaf03c3/biz-ops-app-webpart-web-part_b0b1cc2d6cb19c858147.js:2:1087976) at c (https://publiccdn.sharepointonline.com/dummysite.sharepoint.com/sites/AppStore/ClientSideAssets/f25c455d-16ce-453c-8f3f-538e4eaf03c3/biz-ops-app-webpart-web-part_b0b1cc2d6cb19c858147.js:2:1088055) at async https://publiccdn.sharepointonline.com/dummysite.sharepoint.com/sites/AppStore/ClientSideAssets/f25c455d-16ce-453c-8f3f-538e4eaf03c3/biz-ops-app-webpart-web-part_b0b1cc2d6cb19c858147.js:2:1084734"__
Steps to Reproduce
Here is the code I'm running,