Authorization, token for HTTP shortcut, not working anymore

Hi, I had to reinstall HASSIO, since I forgot to backup I am recreating my install with an old backup (october 2019) now having problem with HTTP shortcut (was working before the reinstall).

Basically, in HASSIO I go to LONG LIVED access token, create a new token, and put it in

Bearer longlivedtoken

correct?

But is not working, I guess has somethjing to do with my settings?


homeassistant:
  name: Home             # Name of the location where Home Assistant is running
  latitude: !secret latitude
  longitude: !secret longitude
  elevation: !secret elevation   
  unit_system: metric
  time_zone: Europe/Rome
  customize: !include customize.yaml
  packages: !include_dir_named packages
  whitelist_external_dirs:
     - /config/www
     - /config/python_scripts
     - /share
  auth_providers:
     - type: homeassistant
     - type: legacy_api_password
       api_password: !secret api_password

It was an incomplete copy paste of the token. Issue resolved