vendredi 22 octobre 2021

Genexus 16 U10 Java Web - Truncation of the response body when requesting token from external API

We are having problems to consume an external API with our Genexus application, through an HTTPClient variable, because when requesting the token through the Bearer method, the body in JSON format of the Response of the API arrives truncated, not being able to parse it to obtain the token received.

If we try to invoke the API from POSTMAN, the Response arrives without truncation, but in our GX application the TOKEN always arrives truncated, as can be seen in the [attached image] 1.

Analyzing the requests, the only difference is in the headers added by GX and POSTMAN, for which we believe that there must be the problem, but we have not been able to find the cause.

Does anyone have any idea where this error may be happening?




Aucun commentaire:

Enregistrer un commentaire