Closed madhuranga-smarttimes closed 3 years ago
Status code 401 means "Unauthorized". The server has acknowledged your request and decided that you're for some reason unauthorized.
From the information you've provided, nothing indicates a problem with this plugin. You should look at the API documentation of the server you're hitting to determine what is missing or when the server returns 401
status code.
If you feel like this is a bug with this plugin, I'll ask you to recreate this issue with the issue form filled out rather than deleting the form provided.
The thing it works perfectly with the ionic 3 version and recently we revamp with ionic 5. After we get this error. Mostly I guess some of the permission issues from the client-side.
same error to me
I had the same issue on Capacitor. To solve it I installed the cordova-plugin-whitelist
Commands: npm install cordova-plugin-whitelist npx cap sync
Filetransfer show error code 3 when call download function with http_status:401
Version : "cordova-plugin-file-transfer": "^1.7.1", ionic 5 with capacitor