W Walter Scafati Active Member Licensed User Longtime User Feb 1, 2018 #1 Hi, I using the OkHttpUtils2 library per to communicate with my server via JSON message. Sometimes I have the error "ResponseError. Reason: Internal Server Error, Response:" and I can'receive the data. Like the post: https://www.b4x.com/android/forum/t...ad-of-a-file-fails-httputils2-succeeds.87041/ I removed the OkHttpUtils2 library and I added the two source code file of this (HttpJob.bas and HttpUtils2Service.bas) but I have the error: B4A Versione: 7.80 Analisi del Codice. Error Errore Analisi Programma. Descrizione errore: Tipo sconosciuto: okhttprequest Manca un riferimento ad una libreria? Errore nella linea: 11 (HttpJob) Private req As OkHttpRequest The row 11 is: Code: Copy Private req As OkHttpRequest Must add I some library?
Hi, I using the OkHttpUtils2 library per to communicate with my server via JSON message. Sometimes I have the error "ResponseError. Reason: Internal Server Error, Response:" and I can'receive the data. Like the post: https://www.b4x.com/android/forum/t...ad-of-a-file-fails-httputils2-succeeds.87041/ I removed the OkHttpUtils2 library and I added the two source code file of this (HttpJob.bas and HttpUtils2Service.bas) but I have the error: B4A Versione: 7.80 Analisi del Codice. Error Errore Analisi Programma. Descrizione errore: Tipo sconosciuto: okhttprequest Manca un riferimento ad una libreria? Errore nella linea: 11 (HttpJob) Private req As OkHttpRequest The row 11 is: Code: Copy Private req As OkHttpRequest Must add I some library?
W Walter Scafati Active Member Licensed User Longtime User Feb 5, 2018 #21 Ak ... ok. Then what can be the issue for my specific case? Why, when only I send the same JSON command to the serrver give back this error while for all the other commands I have back the right response? Upvote 0
Ak ... ok. Then what can be the issue for my specific case? Why, when only I send the same JSON command to the serrver give back this error while for all the other commands I have back the right response?
Erel B4X founder Staff member Licensed User Longtime User Feb 5, 2018 #22 Please start a new thread. Explain what you are doing and what happens. Also provide more information about the server. Upvote 0
Please start a new thread. Explain what you are doing and what happens. Also provide more information about the server.