How can I fix my webapp? 403 (forbidden)

Solved!
UserBird
Dataiker
How can I fix my webapp? 403 (forbidden)

Hello Dataiku team,



I have a bug in my webapp, it doesn't load the dataset anymore?





How can I fix it?



Thanks,



 

0 Kudos
1 Solution
Mattsco
Dataiker
Hi,

It seems you have a problem with your API key. This problem may happen when you copy another person's project by re-importing it on the same DSS instance. You can generate a new API key:

- Go in the home of your project.

- Select "SETTINGS", then "API"

- click "NEW API KEY"

- in the Datasets privileges input, write the datasets names you want to authorise. (used in your webapp)

- Go back in your insight and modify in your code the dataiku.setAPIKey("YOUR_NEW_KEY")

Your insight should work now.

Matt
Mattsco

View solution in original post

1 Reply
Mattsco
Dataiker
Hi,

It seems you have a problem with your API key. This problem may happen when you copy another person's project by re-importing it on the same DSS instance. You can generate a new API key:

- Go in the home of your project.

- Select "SETTINGS", then "API"

- click "NEW API KEY"

- in the Datasets privileges input, write the datasets names you want to authorise. (used in your webapp)

- Go back in your insight and modify in your code the dataiku.setAPIKey("YOUR_NEW_KEY")

Your insight should work now.

Matt
Mattsco

Labels

?
Labels (2)
A banner prompting to get Dataiku