Check out the first Dataiku 8 Deep Dive focusing on Productivity on October 29th Read More

How can I fix my webapp? 403 (forbidden)

Dataiker
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 Reply
Dataiker
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