Thanks for posting your question in the Microsoft Q&A forum.
Based on the error message, it seems there might be several factors contributing to this issue:
- Check file path correctness.
- Verify file permissions for the directory.
- Ensure the file exists at the specified path.
- Review CodeIgniter configuration for upload settings.
- Implement logging and debugging for detailed error information.
- Test with different files to identify specific issues.
- Review OneDrive API integration code for proper handling.
Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful