You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: validation - type
In element: /result/data/0/contextOfUse
Expected: array, null
Found: string
Message: instance type (string) does not match any allowed primitive type (allowed: ["array","null"])
AND
Error: validation - minItems
In element: /result/data/2/scale/validValues/categories
Minimum items: 1
Message: array is too short: must have at least 1 elements but instance has 0 elements
NOTE: This latter error may be due to the absence of data in the test database used.
Generally, the tripal/brapi module doesn't seem to implement the full set of fields covered by the variable specification. The above error simply picks up on a field which has an expected type of 'array' (other empty or missing fields are just ignored).
The text was updated successfully, but these errors were encountered:
RichardBruskiewich
changed the title
Fix BRAVA Error on /variables/datatype endpoint
Fix BRAVA Error on /variables/datatypes endpoint
May 1, 2019
RichardBruskiewich
changed the title
Fix BRAVA Error on /variables/datatypes endpoint
Fix BRAVA Error on /variables endpoint
May 1, 2019
BRAVA test error: Response structure doesn't match schema:
Test: Json matches schema: /schemas/v1.2/variables.json
Error: validation - type
In element: /result/data/0/contextOfUse
Expected: array, null
Found: string
Message: instance type (string) does not match any allowed primitive type (allowed: ["array","null"])
AND
Error: validation - minItems
In element: /result/data/2/scale/validValues/categories
Minimum items: 1
Message: array is too short: must have at least 1 elements but instance has 0 elements
NOTE: This latter error may be due to the absence of data in the test database used.
Generally, the tripal/brapi module doesn't seem to implement the full set of fields covered by the variable specification. The above error simply picks up on a field which has an expected type of 'array' (other empty or missing fields are just ignored).
The text was updated successfully, but these errors were encountered: