Home > Enterprise >  Receiving error: {"status":-1,"error":"The operation couldn’t be completed.
Receiving error: {"status":-1,"error":"The operation couldn’t be completed.

Time:05-20

I have recently been receiving the following error from 'cordova-plugin-advanced-http'. {"status":-1,"error":"The operation couldn’t be completed. No space left on device"}

Using this plugin within my project, most of the time, all API calls are successful, however, sometimes, I receive this error message. Not on any particular API call either. I can't for the life of me figure out why nor have I found much online to narrow the problem down.

The project uses: Ionic 6.19.1 Capacitor 3.5.1 Angular 13.3.8

I have recently updated all three frameworks because this problem was occurring on older versions too but updating them has not resolved the issue.

All devices using my project are iPads (IOS).

Has anyone come across this problem before, know why I am receiving this error, or know how to fix the issue?

Thank you in advance!

UPDATE The device is printing the following error when a call fails with the above error code:

finished with error [28] Error Domain=NSPOSIXErrorDomain Code=28 "No space left on device" UserInfo={_NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask

CodePudding user response:

Solution

Hey team - came across a similar post, where the answer solved my problem. Check it out if you're stuck on in similar situation:

https://forum.ionicframework.com/t/downloading-appflow-update-on-ios-gets-to-16-then-errors-with-the-operation-couldn-t-be-completed-no-space-left-on-device/222534

  • Related