Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internal error validating machineLearningServices.json #433

Closed
jhendrixMSFT opened this issue Jun 25, 2019 · 1 comment
Closed

Internal error validating machineLearningServices.json #433

jhendrixMSFT opened this issue Jun 25, 2019 · 1 comment

Comments

@jhendrixMSFT
Copy link
Member

Please see Azure/azure-rest-api-specs#6432 for the repro.

TypeError: An Internal Error occurred in validating the spec "specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-06-01/machineLearningServices.json". Cannot read property 'path' of undefined.

  | at ZSchema.readOnlyValidator (/home/vsts/work/1/s/node_modules/yasway/lib/validation/custom-zschema-validators.js:223:28) |  
  | at ZSchema.exports.validate (/home/vsts/work/1/s/node_modules/z-schema/src/JsonValidation.js:594:39) |  
  | at ZSchema.validate (/home/vsts/work/1/s/node_modules/z-schema/src/ZSchema.js:242:33) |  
  | at Object.module.exports.validateAgainstSchema (/home/vsts/work/1/s/node_modules/yasway/lib/helpers.js:481:25) |  
  | at validateDefaultValue (/home/vsts/work/1/s/node_modules/yasway/lib/validation/validators.js:200:22) |  
  | at /home/vsts/work/1/s/node_modules/yasway/lib/validation/validators.js:97:5 |  
  | at arrayEach (/home/vsts/work/1/s/node_modules/lodash/lodash.js:516:11) |  
  | at Function.forEach (/home/vsts/work/1/s/node_modules/lodash/lodash.js:9344:14) |  
  | at walkSchema (/home/vsts/work/1/s/node_modules/yasway/lib/validation/validators.js:96:5) |  
  | at /home/vsts/work/1/s/node_modules/yasway/lib/validation/validators.js:72:7 |  
  | code: 'INTERNAL_ERROR', |  
  | id: 'OAV100', |  
  | level: 'error', |  
  | [Symbol(level)]: 'error', |  
  | [Symbol(message)]: '{"code":"INTERNAL_ERROR","id":"OAV100","level":"error"}'

@sergey-shandar
Copy link
Contributor

The issue has been fixed. CI was re-run and the validation passed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants