Hello, I'm getting this Error after adding some Ex...
# community-support
d
Hello, I'm getting this Error after adding some Exposures to my dbt project. I am guessing it is an issue with the yaml structure, but I am not getting any errors from dbt - it runs fine and dbt docs generates fine with the exposures I added. Any suggestions on where to begin with troubleshooting based on this error?
Copy code
2023-12-14 03:01:37.846 MST
[31;20m2023-12-14 10:01:37 — ERROR — Could not generate the report - Error: 1 validation error for ExposureSchema
2023-12-14 03:01:37.846 MST
owners
2023-12-14 03:01:37.846 MST
  value is not a valid list (type=type_error.list)
2023-12-14 03:01:37.846 MST
Please reach out to our community for help with this issue.[0m
👀 1
✅ 1
e
Hey @Dana Holmes, thanks for reaching out! What version are you using and what command?
d
Hey Erik! thanks for the follow-up. I saw this behavior in 0.9.2 and also after updating to 0.13.2. I did end up finding the cause. In case anyone else stumbles upon this - I had written a script to generate exposures from my BI tool's dashboards, and in some cases it would put the User ID as the owner name field, which was all numbers - my guess would be that there was some implicit conversion of these number-only owner names into an integer which was causing the type.error. Adding some words before the User ID string fixed it. So picture 1 was causing the error above. Updated exposures with this pattern picture 2 - no issue anymore.
🙏 1
And the command was just 'edr report'