finally got the api access point working