Hello community,
last weekend I renewed my long-lived access token which I used for accessing the API according to Is it possible to fetch YAML template sensor via curl? - #3 by aceindy
After the update the access is not working any more. I tested it in the integrated terminal and see a problem even there
TOKEN="eyJhb...ZpMV4"
➜ ~ curl -X POST http://localhost:8123/api/template -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" -d '{"template": "It is {{ now() }}!"}'
It is 2025-11-03 17:03:25.311171+01:00!#
➜ ~ curl -X POST http://hassos.home:8123/api/template -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" -d '{"template": "It is {{ now() }}!"}'
403: Forbidden#
I get the same 403: Forbidden# error when I do it from an external device. In the past this worked. Does anyone have an idea?