I have an error while trying to connect to the api with my unity app

Then revise your code to return the body of the response

Your error log only outputs the HTTP Code and a error blob from the library
There should be a JSON Blob/body which will describe the error.