Skip to Content
0
2 days ago

CAP: run cql queries in custom endpoints

119 Views

Hi everyone,

I have a problem with run cql queries in custom endpoints in a muntitenant scenario, I followed the next example for create a custom endpoints to response in json format, works fine in an single tenant scenario, but when I tried take it a multitenant I got the next error:

There is no instance for tenant "anonymous"

I tried with the instructions cds.run() and tx.run() but none worked for me.

I would appreciate if someone could help me