on 2019 Mar 21 11:47 AM
Hi Everyone,
Can anyone share me where I can find all the network related errors/error codes or how can I handle network related issue for Odata Offlne/Online requests in Android and iOS Platform.
As per my project requirement, need to handle connectivity errors during Offline store flush/refresh and along with OData call during the online.
I am getting ERR_INTERNET_DISCONNECTED, CONNECTION_ABORTED, etc are consoled in console. How can I handle these network errors.
Right now we are handling using error code
Thanks in advance
Sai Nithesh
The error codes I suspect you are interested in are: -10180 (COMMUNICATION_ERROR), -10204 (SYNC_FAILED_BAD_STATUS_CODE), -10205 (SYNC_FAILED_SOCKET_CONNECT), -10206 (SYNC_FAILED_INVALID_CHARACTER), -10207 (SYNC_FAILED_AUTH_REQUIRED), -10208 (SYNC_FAILED_HOST_NOT_FOUND), -10210 (SYNC_FAILED_SERVER_ERROR), -10288 (SYNC_FAILED_BAD_STATUS_CODE_RETRY), and -10292 (FAILED_TO_CONNECT_TO_SERVER).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks David for your response. The solution provided by you is very helpful. Can you please share the reference link.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please visit below location to have all possible HTTP Errors that could raise.
Hope this helps..
Thanks-
Abhishek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Sami for your immediate response.
Currently I am working on Offline Hybrid Application using Kapsel Plugins(version 3.14.7), Cordova plugins and SAP Cloud Platform for Android & iOS the platforms.
Need help in :
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
did you have a look at the code examples https://developers.sap.com/tutorial-navigator/mobile-interactive-tutorials/offline/native-ios/basic....
Please be more specific about the setup and where you are experience the problem. Than we can help you out.
Sami
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
73 | |
10 | |
8 | |
8 | |
8 | |
6 | |
6 | |
6 | |
6 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.