How can I fix my webapp? 403 (forbidden)

UserBird
UserBird Dataiker, Alpha Tester Posts: 535 Dataiker

Hello Dataiku team,

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

How can I fix it?



Thanks,

Tagged:

Best Answer

  • Mattsco
    Mattsco Dataiker, Registered Posts: 125 Dataiker
    Answer ✓
    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
Setup Info
    Tags
      Help me…