Android Question ResponseError. Reason: Internal Server Error, Response: Using OkHttpUtils2 Library

Walter Scafati

Active Member
Licensed User
Longtime User
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?
 
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

Similar Threads

Replies
9
Views
3K
  • Locked
  • Question Question
Android Question OkHttpUtils2
Replies
6
Views
2K
  • Locked
  • Question Question
Android Question OkHttpUtils2
Replies
5
Views
2K
  • Question Question
Android Question ResponseError
Replies
5
Views
4K
Back
Top