Invalid TXT record found for this domain


In TEAM SETTINGS > VERIFY CUSTOM DOMAIN when setting up a custom domain and check the box that I have added the TXT and CNAME record (i have added them correctly in CloudFlare), on verification Postman shows the error:

“Invalid TXT record found for this domain”

I am quite confident that it has the right value. How to debug this?