Yes, and Oracle version too. The SYS-owned tables are generally the fastest way to access the data dictionary, so sometimes I rely on those instead of DBA_, ALL_, and USER_, if I think the user has access to them. In this case, I was wrong, hence your error. USER_ views are generally the next fastest, followed by DBA_, and ALL_ is the slowest.
If I can detect connection to an Oracle Autonomous Cloud database vs an on-prem db, I can probably make a few tweaks to the logic and fix this.