Basic Local File

Topics: Bug / Problems, Example needed
Feb 22 at 2:44 PM
I'm trying to do a quick test with the JSON Source Component by setting the "Custom Value" to a local file, I tried to set it to the following possibilities, but non worked:
file:///C:\data.json
file:///C:/data.json
'file:///C:\data.json'
"file:///C:/data.json"

I browsed the file pass, and manually added file:/// , no luck.
Here is the file content:

[
{
"code": "1045", 
"country": "de", 
"kind": "province", 
"state_code": null, 
"name": "Bavaria", 
"updated_at": "2016-02-09T09:31:44.582230Z"
},
{
"code": "101f", 
"country": "br", 
"kind": "state", 
"state_code": "ES", 
"name": "Esp\u00edrito Santo", 
"updated_at": "2014-12-08T06:00:00Z"
}
]

thanks!
Coordinator
Mar 31 at 9:35 AM
Hi,

this is very weird. You should use the BROWSE button to do that. If that doesn't work, you probably don't have permissions to read that file. Can you paste the error code it fires when you try to run it?