I’m planning to use the Catalog API refresh to update my reflections with a interval lower than 1h.
When trying to call the refresh API catalog with a specific id, using a post request on this endpoint:
{base_url}/api/v3/catalog/{catalog_id}/refresh"
I’m getting this error:
{"errorMessage":"Something went wrong. Please check the log file for details, see https://docs.dremio.com/advanced-administration/log-files.html","moreInfo":"Can only refresh datasets but found [com.dremio.service.namespace.source.proto.SourceConfig]."}
I can confirm that the id that I used is in the list of the ids that I got from "{base_url}/api/v3/catalog"
.
Any idea on how to solve this?