AnsweredAssumed Answered

No schema file included in sync, cannot unpack

Question asked by TIMOTHY H HASS on Apr 13, 2016
Latest reply on Apr 21, 2016 by Mary Ann Apple

I'm using the instructions provided in the Getting Started with Canvas Data video to setup Canvas Data.  I've been able to get all they way through the process to the unpack portion.  However, the unpacking process cannot be completed because when synced the flat files did not also include the schema file.


Is there a way to get the schema file, if that fails to be included in the sync process?  I found this but cannot find the file to download.

Where do I find the data schema? A JSON version can also be downloaded from the API.


Thanks in advance,


Error message.....

C:\Users\tim.hass>canvasDataCli unpack -c config.js -f user_dim,account_dim

could not find schema, have you downloaded files yet?

an error occured

{ [Error: ENOENT: no such file or directory, stat 'C:\Users\tim.hass\dataFiles\schema.json']

  errno: -4058,

  code: 'ENOENT',

  syscall: 'stat',

  path: 'C:\\Users\\tim.hass\\dataFiles\\schema.json' }

Error: ENOENT: no such file or directory, stat 'C:\Users\tim.hass\dataFiles\schema.json'

    at Error (native)