API response error, response code with text

I integrated chatgpt with my application in flutter flow and it gives me the API response with text and code without understanding each other and it takes up the entire message with code.
¿Does someone know how to solve this problem?