We’re working on setting up a CI/CD script to automatically validate SQL fields in Holistics. In order to do that, we’re relying on the data_models API endpoint. We’re almost there but are running into an issue. When we don’t specify the branch_name or commit_oid, then the API call works fine. But when we specify the branch_name or commit_oid, then we get the a 500 response with an error that says “InternalHolisticsError”. Would really appreciate some help on this! I’m giving an example of the debug info below for one call each with branch_name and commit_oid:
Example of the response and debug info when we specify branch_name
{
"type": "InternalHolisticsError",
"message": "Something went wrong on our server. Debug info 20241002150915_wpo83"
}
Example of the response and debug info when we specify commit_oid
{
"type": "InternalHolisticsError",
"message": "Something went wrong on our server. Debug info 20241002151058_4x0kxb"
}
Thank you for reporting this to us and apologize for any inconvenience this may have caused. We are investigating the issue and will get back to you soon.
I just opened holistics and switched to the branch and ensured the commit is showing up there and am still running into the same issue.
I also made sure I don’t have any uncommitted changes in holistics before calling the API, so it means it’s not an issue where my user can’t switch branches because I have uncommitted changes.
I also tested on a branch that’s identical to production, so I don’t think it’s an AML compilation error or anything.