Software⏱️ 2 min read📅 2026-05-31

How to Fix: QuotaExceededError: Dom exception 22: An attempt was made to add something to storage that exceeded the quota

iOS 7 LocalStorage quota exceeded error

Quick Answer: Try using IndexedDB or a different storage solution, as LocalStorage is not enabled by default in iOS 7.

Using LocalStorage on iPhone with iOS 7 can result in a QuotaExceededError due to the browser's security features. In this case, you're not even browsing in private, and the issue persists.

💡 Why You Are Getting This Error

  • [Cause]

🚀 How to Resolve This Issue

Method 1: Disable Cookies and LocalStorage for Specific Sites

  1. Step 1: Open Safari Settings, then go to Privacy & Security.

Method 2: Use a Third-Party Extension

  1. Step 1: Install an extension like LocalStorage Manager or Storage Access API.

💡 Conclusion

By disabling cookies and localStorage for specific sites or using a third-party extension, you should be able to resolve the QuotaExceededError on your iPhone with iOS 7.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions