ayushabesit 3 months ago in Scrapy Cloud • updated by Pablo Vaz (Support Engineer) 3 weeks ago 4

Hi , I created a project in scrapinghub , then i deleted it , then i again created a new project and trying to run the spider , but when i give command "shub deploy" it is going to previous project id and giving error: Deploy failed(404) , Project:non_field_errors .It is showing that deploying to previous ID but current id is different. so suggest the solution.

Waiting for Customer

Hey Ayushabesit, please try to run shub logout and start over the process, let me know the results.



Hi Pablo ,

I tried with shub logout but same thing is happenning , actually when we to shub logout and then shub login , they ask for API , I entered it but they do not ask for TARGET ID , which they should, so it is taking a random Target ID which doesnot match my Target id that comes in my project url , and throwing error.

That's strange Ayushabesit, thanks for report I'll look into it with my internal team. Meanwhile, have you tried to deploy from a Github repo?

Please take a few minutes to check this new article from Valdir:


Let me know if helps.

Best regards!