Acess-Control-Allow-Headers CORS Error with API after updating discourse

Yes, I have added the domain where I call the API in discourse settings, but that error about field api-username, I dont know when I have to resolve.