I was using HTTP_String() to retrieve the JSON data, changed it to HTTP_req() and it works.
Thanks for the response.
Search found 8 matches
- Wed May 29, 2024 9:00 pm
- Forum: YAJL-ILE
- Topic: Parsing error 1002
- Replies: 2
- Views: 32212
- Wed May 29, 2024 4:19 am
- Forum: YAJL-ILE
- Topic: Parsing error 1002
- Replies: 2
- Views: 32212
Parsing error 1002
I am getting parsing error 1002 using parser YAJLINTO after 100000 bytes parsed. Is this a limitation of the parser? YAJL parser status 0 after 100000 bytes YAJL parser final status: 2 YAJL error: parse error: premature EOF ReportError, RC = 1002 - Bytes parsed: 100000 Terminating due to error Press...
- Mon Nov 13, 2023 2:17 pm
- Forum: HTTPAPI
- Topic: Special characters in URL
- Replies: 8
- Views: 31792
Re: Special characters in URL
To sum this up... The problem was the token format AND the software vendor has rules on this particular message that ALL properties must be sent (that they failed to divulge). I added the additional properties and it works like a charm!
Thanks so much for your responses.
Thanks so much for your responses.
- Mon Nov 13, 2023 12:03 pm
- Forum: HTTPAPI
- Topic: Special characters in URL
- Replies: 8
- Views: 31792
Re: Special characters in URL
This is not a bearer token. I asked the vendor that question, Their reply was "No, nothing that fancy
. It is just the Value for the Authorization header.".
- Mon Nov 13, 2023 11:59 am
- Forum: HTTPAPI
- Topic: Special characters in URL
- Replies: 8
- Views: 31792
Re: Special characters in URL
Thank you! I found an example you had on another forum and changed my program to reflect that. I had tried putting 'Authorization: + token' + CRLF before posting to this forum and got the same error. When I saw your post, it showed 'Authorization: ' + 'token" + CRLF. I was missing a couple sing...
- Sat Nov 11, 2023 1:55 pm
- Forum: HTTPAPI
- Topic: Special characters in URL
- Replies: 8
- Views: 31792
Re: Special characters in URL
Perhaps that's not the issue at all and the "subject" is misstating the problem. (I'm totally green on all of this) Could this be an issue with the windows server config overriding my "application/json" content type? I am unable to attach the .txt log file so I will paste it here...
- Sat Nov 11, 2023 12:46 am
- Forum: HTTPAPI
- Topic: Special characters in URL
- Replies: 8
- Views: 31792
Re: Special characters in URL
You are correct, the second ? is actually an &.
- Fri Nov 10, 2023 9:51 pm
- Forum: HTTPAPI
- Topic: Special characters in URL
- Replies: 8
- Views: 31792
Special characters in URL
Hello, I'm getting an error in my log that says "HTTP Error 400. The request has an invalid header name." I think it may be due to the characters in the URL: Servername.company.com:1234/api/ProcessMessage?custID=GPD?facility=01 What must i to do to translate the characters correctly? I am ...