CloudFlareAPIError

I am running SWAG with LetsEncrypt in Docker on Unraid OS

I updated SWAG yesterday and am now getting an error ‘Encountered CloudFlareAPIError adding TXT record: 10000 Authentication error’

I refreshed my API Token and updated the cloudflar.ini file, I also cleared the DNS cache and still getting the error.

I ran the curl command after making a new token and got

root@00434798435a:/# curl -X GET "https://api.cloudflare.com/client/v4/user/tokens/verify" \
     -H "Authorization: Bearer API Token" \
     -H "Content-Type:application/json"
{"result":{"id":"#","status":"active"},"success":true,"errors":[],"messages":[{"code":10000,"message":"This API Token is valid and active","type":null}]}