SqrTT / prophet

Prophet Debugger (SFCC sandboxes via SDAPI 2.0) extension for VS Code
https://marketplace.visualstudio.com/items?itemName=SqrTT.prophet
Other
144 stars 59 forks source link

Unable to upload Cartridge to Sandbox #236

Closed maxkliu26 closed 4 years ago

maxkliu26 commented 4 years ago

A developer mistakenly removed the code uploaded from VS previously and now when trying re-run clean and upload, it keeps showing code version undefined and may i know how it could be resolved in prophet?

Credentials/ Domain shall be be correct.

Starting... Using config file '/Users/xxxx/Documents/development/xxxx-sfcc/dw.json' Unable validate connection! Please check existence of code version: "undefined" Error: Error: Not Found

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

404 - URL Error

URL Not Found

The requested URL is invalid.


{"response":{"statusCode":404,"body":"\n\n\n\n\n<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n\n\n\t404 - URL Error\n\t<link rel=\"STYLESHEET\" type=\"text/css\" href=\"/waroot/style.css\">\n\n\n\t

URL Not Found

\n\t<img src=\"/waroot/system_arrow.gif\" width=\"21\" height=\"21\" alt=\"\" border=\"0\">\n\t<p class=\"system_info\">\n\t\tThe requested URL is invalid.\n\t

\n\t
\n\n\n","headers":{"accept-ranges":"bytes","x-dw-request-base-id":"OwGWrs55ol6KUDMK","x-error":"1","jweb":"y","set-cookie":["dwsid=J6sbVWjeAuUQD9rA3LxINE0OtPlYXXmDTpOOM0Uf5gqphIjmSCOCoAYkhs1ZjmmZLIqYEJkfOxNX-jY-E6zNNw==; path=/; HttpOnly; Secure"],"content-type":"text/html;charset=ISO-8859-1","content-length":"384","date":"Fri, 24 Apr 2020 05:31:58 GMT","server":"istio-envoy","x-envoy-upstream-service-time":"3","connection":"close"},"request":{"uri":{"protocol":"https:","slashes":true,"auth":null,"host":"xxxx-001.sandbox.us01.dx.commercecloud.salesforce.com","port":443,"hostname":"xxxx-001.sandbox.us01.dx.commercecloud.salesforce.com","hash":null,"search":null,"query":null,"pathname":"/on/demandware.servlet/webdav/Sites/Cartridges/NewVersionName1/","path":"/on/demandware.servlet/webdav/Sites/Cartridges/NewVersionName1/","href":"https://xxxx-001.sandbox.us01.dx.commercecloud.salesforce.com/on/demandware.servlet/webdav/Sites/Cartridges/NewVersionName1/"},"method":"PROPFIND","headers":{"Depth":1,"authorization":"Basic bWF4bGl1QGRlbG9pdHRlLmNvbS5oazpEZWxvaXR0ZTIwMjAh","content-length":0}}},"request":{"baseUrl":"https://xxxx-001.sandbox.us01.dx.commercecloud.salesforce.com/on/demandware.servlet/webdav/Sites/Cartridges/NewVersionName1/","uri":"/","auth":{"user":"xxxx","password":"xxxxx","pass":"xxxxx"},"strictSSL":false,"timeout":15000,"headers":{"Depth":1},"method":"PROPFIND"}}

maxkliu26 commented 4 years ago

Apologies seems to be wrong URL. Thanks. Will close it.