We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

Netlify Deployment Failed

  • #4157
    Avatar photo[anonymous]

    Site is small so it’s not about size and contains only 1 page.

    Getting this error:

    - - Netlify ERROR - -
    TypeError: Cannot read property 'id' of undefined
        at NetlifyAPI.deploy (/Applications/
        at processTicksAndRejections (internal/process/task_queues.js:93:5)
    - - - - - - - - - - -

    Please help 🙂


    Avatar photo[anonymous]


    Did you provided a proper site ID under the settings?

    According to the code it looks like endpoint:

    ‘sites/:site_id/deploys’ (where :site_id is your website ID)

    Does not return proper response in your  case.

    Avatar photo[anonymous]

    Nvm the issue was because it was not store Netlify access credentials

    Avatar photo[anonymous]

    Czesc Tomasz, yep it was the case, I provided domain instead of Netlify unique internal site name, and then it worked, however there is two other problems:

    – it ignores subfolder I wanted to use Publii for blog and output it to the folder, but it’s ignored the path and outputted it to the main site

    – it also lost all the credentials 🙁 and require them to be provided again (after successful deployment)

    Avatar photo[anonymous]

    Hi again,

    1) At this moment we do not support deploying to the subfolder in Netlify and in fact I am not sure if it is even possible.

    2) Could you check if your issue with credentials is similar to this: ?