Semen Matusovskiy Well-Known Member Licensed User Jul 8, 2019 #1 Hi, guys --- https://www.b4x.com/android/forum/t...n-code-or-in-documentation.64708/#post-410030 offers to use Reason instead of Response.ErrorResponse But this is not a solution for me. "Reason" in my case is "unknown error". Meanwhile webserver sends detailed description as Map (which I get in B4A using Response.ErrorResponse ). Any ideas how to get ErrorResponse (probably using native objects)
Hi, guys --- https://www.b4x.com/android/forum/t...n-code-or-in-documentation.64708/#post-410030 offers to use Reason instead of Response.ErrorResponse But this is not a solution for me. "Reason" in my case is "unknown error". Meanwhile webserver sends detailed description as Map (which I get in B4A using Response.ErrorResponse ). Any ideas how to get ErrorResponse (probably using native objects)
tufanv Expert Licensed User Longtime User Jul 8, 2019 #2 Semen Matusovskiy said: Hi, guys --- https://www.b4x.com/android/forum/t...n-code-or-in-documentation.64708/#post-410030 offers to use Reason instead of Response.ErrorResponse But this is not a solution for me. "Reason" in my case is "unknown error". Meanwhile webserver sends detailed description as Map (which I get in B4A using Response.ErrorResponse ). Any ideas how to get ErrorResponse (probably using native objects) Click to expand... If the request you are sending is to a php, you can turn on error_reporting on server side the get the full error message as response. Upvote 0
Semen Matusovskiy said: Hi, guys --- https://www.b4x.com/android/forum/t...n-code-or-in-documentation.64708/#post-410030 offers to use Reason instead of Response.ErrorResponse But this is not a solution for me. "Reason" in my case is "unknown error". Meanwhile webserver sends detailed description as Map (which I get in B4A using Response.ErrorResponse ). Any ideas how to get ErrorResponse (probably using native objects) Click to expand... If the request you are sending is to a php, you can turn on error_reporting on server side the get the full error message as response.
Semen Matusovskiy Well-Known Member Licensed User Jul 8, 2019 #3 No, it's not a PHP. Something more modern. Guess, I will find a workaround in concrete situation (it's our website, so a developer is able to duplicate fields). But it seems to me it's necessary to correct B4i library. Upvote 0
No, it's not a PHP. Something more modern. Guess, I will find a workaround in concrete situation (it's our website, so a developer is able to duplicate fields). But it seems to me it's necessary to correct B4i library.