Forum Discussion
Anonymous
4 years agoNot applicable
Data Format .Error: We found extra characters at the end of JSON input.
Hi, I am trying to fetch data from web using api using this format let
Source = Json.Document(
Web.Contents(
"https://dev.azure.com/{organization}/{project}/_apis/work/te...
- Anonymous4 years ago
It is responding I have checked through web.browsercontains . Prolem has solved by using header and bearer token in it. thanks for the reply.
MiguelRodrigues
3 years agoRegular Visitor
Hello,
Can you please share how the code should look like?
I'm getting the same errors with below code:
let
Source = Json.Document(Web.Contents("link")),
#"Converted to Table" = Table.FromList(Source, Splitter.SplitByNothing(), null, null, ExtraValues.Error),
#"Expanded Column1" = Table.ExpandRecordColumn(#"Converted to Table", {"fields"})
in
#"Expanded Column1"
Error message:
DataFormat.Error: We found extra characters at the end of JSON input.
Details:
Value=
Position=5
- Anonymous3 years agoNot applicable
Hi,
- try to check the java code in sublime or any other compiler. There must be an extra "," or other things to join the existing code which you have to understand and remove to get in the data.
- firstly check with using wer content then convert it to json. This step will let you know if your credentials are working or not. if its not working then use headers and add authentication and token.
These things I will suggest you for now.