I just realized that I left out the return a line of code in my first mail The complete code to the "getAddresses" python script is the following: request = container.REQUEST user = request.AUTHENTICATED_USER regs = container.sql.restricted.my_zsql_method(user_id=user.getUserId()) return regs Sorry ;-) Cheers, Toni.