Mission: FILES MASTER
Task: Delete a file using API
Try to delete file using API.
Error message:
I/flutter (22128): PlatformException(3048, Session timeout. Url: https://api.backendless.com/DCDB982F-8745-8C90-FF9C-4883AA3F3600/2711A39A-3210-47D3-AECB-E20CC0CA59D7/page/session_expiration/index.html, Session timeout. Url: https://api.backendless.com/DCDB982F-8745-8C90-FF9C-4883AA3F3600/2711A39A-3210-47D3-AECB-E20CC0CA59D7/page/session_expiration/index.html)
My code:
void _deleteFile() {
Backendless.files
.remove(‘mission/superfast.html’)
.then((value) => print(“File has been deleted”))
.catchError((e) => print(e));
}
**Later I tried to delete using JS API. It works. **
Using Flutter API dont work.