Octoprint setup error

Can someone please help me configure Octoprint with my HA setup?
I am getting the error below.


and my config

Are you sure you have your octoprint sever up and running when you start HA?

Yes it is running

Can you post the errors you are seeing in your log? The error message makes it seem like it is failing to talk to the octoprint server. Check your API key for accuracy and any extra spaces at the start/end.

Sure but what am i suppose to put here. and when i select open web ui, it doesnt take me to my octoprint web interface, it takes me to the ip of my HA server.

Oh I am not sure about the octoprint hass.io add-on not sure how that works. I am just using the regular octoprint integration.