How to use internal AI endpoints?

I did it on UI like I saw on a previous similar post. Tried also with the variable on my app.yml file but still getting the error.

What can be wrong if my credentials are OK and I can use the API endpoint on the host? Can I debug more?