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

Dataset throws 'Could not instantiate the table due to a lack of schema.' on csv upload #411

Open
Deepak-ix opened this issue Jun 8, 2021 · 0 comments

Comments

@Deepak-ix
Copy link

I am facing issue on preview of uploaded csv file.

In the decoupled frontend, I am getting ‘Could not instantiate the table due to a lack of schema.’.

Steps to reproduce:
• I have added the csv in the media -> Document -> And uploaded my csv file and copy link address.
• While adding new project distribution, in the download url I have saved the csv file path.(If I hit the url directly file is downloading correctly).
• Once dataset added, I have rebuild tracking information on search API and re-index the dataset
• Removed my cache folder using command ’ rm -rf public/ .cache/’ and run ‘npm run build’.

In the decoupled frontend, added dataset are loading with project distribution but for some dataset it throws the above message.

Request url: http://www.mysiteurl.com/api/1/datastore/sql/?query=[SELECT%20COUNT(*)%20FROM%20b10c41ac-aa45-566e-95e7-7942d9332499]&show-db-columns
Response : {"message":"Could not instantiate the table due to a lack of schema."}

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

1 participant