Hi there. I’m having some issues when creating a new dataset from a JSON file. The file was created from a pre-processing script that I wrote and is exported to a destination folder on my device. I’d prefer to upload the JSON files from this script separately. This is the following error that I get:
There was an error parsing your JSON file. Please take a look at our docs for more information on the required format.
I know for a fact that this file is in the correct JSON format according to the docs. I’ve even used a validator online to make sure everything is correct. Any reason I would still be getting this message? I apologize for any lack of information, I’m very new to both preprocessing and annotation. Thanks in advance!
HI @clark.thurston, thanks for posting! Would you mind sharing an excerpt of your JSON file – perhaps one of the data rows you are trying to create? (Please feel free to omit any confidential information if necessary.)
Taking a look at a sample of your JSON would certainly provide the most effective means for me to assist you. Looking forward to hearing back from you!
I apologize for the late response @Zeke . I’ll add a few rows of the raw data below.
{
“id”: 1,
“text”: “strong cyp3a4 inhibitors: reduce vraylar dosage by half cyp3a4 inducers: concomitant use is not recommended 7.1 drugs having clinically important interactions with vraylar table 13. clinically important with vraylar strong cyp3a4 inhibitors clinical impact: concomitant use of vraylar with a strong cyp3a4 inhibitor increases the exposures of cariprazine and its major active metabolite, didesmethylcariprazine , compared to use of vraylar alone [see clinical pharmacology ].”,
“metadata”: {
“source”: “FDA Drug Label”,
“drug_name”: “cariprazine”
}
},
{
“id”: 2,
“text”: “intervention: if vraylar is used with a strong cyp3a4 inhibitor, reduce vraylar dosage [see d osage and a dministration ] .”,
“metadata”: {
“source”: “FDA Drug Label”,
“drug_name”: “cariprazine”
}
},