is not a valid HTTP header field value.
-
Hello I am trying to make a filter using your javascript but I am not successful it just presents me with the following error. Can you help me?
Mensagem de erro: resolveCluster Exception: Failed to execute ‘setRequestHeader’ on ‘XMLHttpRequest’: ‘Bearer
is not a valid HTTP header field value.
My code
var relatedFilterObj = [{“$schema”:”https://powerbi.com/product/schema#basic”,”target”:{“table”:”User”,”column”:”Username”},”operator”:”=”,”values”:[“321”]}];
var pageURL = “https://dash.powerreports.com/powerbi”
var relatedURL = pageURL + “?filters=” + encodeURIComponent(JSON.stringify(relatedFilterObj));
- The topic ‘is not a valid HTTP header field value.’ is closed to new replies.