Always shows error when using API for DDNS

So, now that I’ve got my Record ID I tested a DDNS script for Cloudflare on my Raspberry PI 0, but it gives me a authorization error:

This is my file:


I’ve tried both X-Auth-Key and Bearer.

This will be because Cloudflare has stopped the API updating domains ending in free extensions like:
.tk
.cf
.ml
.ga
.gq

See here for more info:


Use of the API for managing the DNS records of FreeNom domains is forbidden. You have to use the GUI.

Ok, but then it would be a different error, right?