Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

look not running #22

Open
zbenafia opened this issue Feb 19, 2018 · 3 comments
Open

look not running #22

zbenafia opened this issue Feb 19, 2018 · 3 comments

Comments

@zbenafia
Copy link

Hi, I'm getting the following error when I run run_look(114)

Error in .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl,  : 
  io.swagger.client.ApiException: {"message":"Not found","documentation_url":"http://docs.looker.com/"}

anyone knows the meaning of this?

@maxcorbin
Copy link
Contributor

@zbenafia The "Not Found" error is an HTTP 404 status. This indicates that:

  1. The API user does not have permissions for this endpoint (the user does not have the see_looks or access_data permissions)
  2. The endpoint does not exist (unlikely unless you have modified the Java classes or the R code used to call those classes)
  3. The resource you are trying to retrieve does not exist (confirm that Look 114 is a real look that exists and that the user has access to it via content access controls)

tl;dr Your best next step is to sudo as the API user and navigate to the Look to confirm you can run the Look in the front end. It is likely a permissions or content access error

@samudzi
Copy link

samudzi commented May 23, 2019

I've been running into this same issue. I'm using the API key of an admin user who not only has full access to the entire instance, but is also the creator of the Look I'm trying to pull

@Nigel-Brown
Copy link
Contributor

Nigel-Brown commented Mar 30, 2022

Using the following code: data <- sdk$userSession$lookApi$look(look_id = 27185, config = sdk$oauthHeader)$content
I'm receiving the following error message: Error in self$fromJSONObject(QueryObject) : object 'TODO_OBJECT_MAPPING' not found.
If I leave the config argument out of the function call, the response is a HTTP 401 error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants