DOMException: "Invalid header name." - header

I've got this error "DOMException: "Invalid header name."
while embedding a power bi Report in my Wordpress site.. after that it turns out that "This content isn't available." I've checked the group ID and the report ID multiple times
But nothing going smooth ... how this supposed to be solved?

I got this issue when tried to put too long String into a header.
Solved by using Request Body instead.

Related

Youtube LiveChat API: messageTextInvalid

I'm using the Youtube livechat.insert API (https://developers.google.com/youtube/v3/live/docs/liveChatMessages/insert), and occasionally get back the messageTextInvalid error. However the error description page doesn't give much of a hint as to what's wrong here (https://developers.google.com/youtube/v3/live/docs/errors#liveChatMessages_youtube.liveChatMessages.insert). I've ensured the messages being sent are <= 200 characters long, and do not have newlines in them. However a message like '(Discord) person: COMMENT : Wonderful!' returns this error that the text is invalid. Is there some information that I can find about what text is valid in the message? I also didn't find much information on the livechat message resource page (https://developers.google.com/youtube/v3/live/docs/liveChatMessages#resource)

Invalid input - URIString in webMethods 8 using AS2

I have an issue when I try to send an EDI document to a partner using AS2 (HTTPS). The transaction is being translated correctly and when it reaches EDIINT step I got the error:
Invalid input - URIString [EDIINT.000001.000003]
I already checked the URL provided by partner and it's working.
Something that is strange is that we can send the MDN when we receive any transaction from them, but when we try to send a transaction from our end, we got that error.
What's causing such errors and how can I fix it?
can you try encoding the URL string

Cannot parse feed

I'm trying to parse this feed http://www.bbc.co.uk/sport/football/teams/newcastle-united/rss.xml
I get this message "A feed could not be found at http://. A feed with an invalid mime type may fall victim to this error, or SimplePie was unable to auto-discover it.. Use force_feed() if you are certain this URL is a real feed."
If I use force_feed I get an error "This XML document is invalid, likely due to invalid characters. XML error: Mismatched tag at line 27, column 8" but looking at the xml I can't see any errors. Indeed, checking at http://validator.w3.org/ seems to validate fine.
Any suggestions?
I'm running the latest version of simplepie downloaded a few days ago.
I found the problem when I stripped out the code to create a test case. The url being loaded was http://www.bbc.co.uk//sport/football/teams/newcastle-united/rss.xml (notice the double forward slash). simplepie seems to not be dealing with this gracefully. Removing the double slash fixes the problem

SharePoint 2010 REST in iOS returns bad URL

I'm trying to query a Sharepoint List using REST. It works in IE and Chrome but in iOS after sending async request it jumps directly to didFailWithError returning:
Error Domain=NSURLErrorDomain Code=-1000 "bad URL" UserInfo=0xe95ba00 {NSUnderlyingError=0x8258680 "bad URL", NSLocalizedDescription=bad URL}
The REST code is:
#"http://mySP/site/siteColl/_vti_bin/ListData.svc/MyList?$filter=Infotyp eq 'NO'"
If I use:
#"http://mySP/site/siteColl/_vti_bin/ListData.svc/MyList"
instead, then everything is fine. Authorization is not an issue.
So why is the filter not working?
EDIT: Found out why. It's the spaces in the query. But how should I format them?
Got it. Used RESTQuery = [RESTQuery stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding] which returns a legal URL encoding

unable to create a user in JXplorer for LDAP - i get an error

I am trying to user openLDAP for the very first time. So I found this nice tutorial http://soswin-techbits.blogspot.com/2011/10/installing-openldap-on-windows-7.html. So i followed the instructions all the way to end. However, on the very last step I get an error. When i try to add a user to the group people I get this errpr "Unable to perform Modify Operation."
So after i do cn=user1 then in the Table Editor I type "surname" and hit submit then I get this error.
even when I tried to add a new directorey I get the same error.
Here is a detailed error.
javax.naming.OperationNotSupportedException: [LDAP: error code 53 - no global superior knowledge]; remaining name 'dc=Organization,dc=com'
What is wrong?
thanks
The server may not be configured to host a backend with the suffix dc=Organization,dc=com.