Jupyter Notebook runs, but code recipe fails

ErikaScholtz
ErikaScholtz Registered Posts: 1

Hi there,

I have created a Python code recipe that is using some stored Dataiku credentials. The code runs fine when editing in Jupyter Notebook, but fails when running the code recipe. Why would the one succeed and the other fail? It is the same code using the same code environment.

Tagged:

Answers

  • Sv3n-Sk4
    Sv3n-Sk4 Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 32 ✭✭✭✭

    Hello,

    One thing coming to my mind is the problem could be with the input.
    Check how it is stored in your project, sometime, my custom recipes doesn't work when I the input or the output is not stored as intended.

    Hope it will help a bit.

    Hadrien

  • Alexandru
    Alexandru Dataiker, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 1,212 Dataiker

    @ErikaScholtz
    ,
    Name or Service unknown may suggest a DNS issue wherever this recipe is running.

    Is both your Notebook and Recipe running locally or containerized?
    Are they using the same code env.
    Perhaps there is a DNS issue within local or containerized environment.


    We may be able to assist further if you share the errors from the logs or open a support ticket.

    Thanks

Setup Info
    Tags
      Help me…