cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Community Discussions
Connect with fellow community members to discuss general topics related to the Databricks platform, industry trends, and best practices. Share experiences, ask questions, and foster collaboration within the community.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Response code 400 received when using VSCode on Windows 10 but no issue while using Ubuntu

traillog
New Contributor

I use VSCode on Windows 10 for building and deploying a workflow from my system and always encounter response code 400 when trying to deploy it. I am able to deploy the workflows via Ubuntu, but not via Windows. Has anyone encountered this issue before?

Code I run: (env) PS C:\Users\XYZ\Documents\FLOW\FLOW> python .azure-pipelines/scripts/deploy_databricks.py -c region -p commit -b 051520240955xyz

Error: 

Exception: Unable to complete request to endpoint https://adb-4893710785859060.0.azuredatabricks.net/api/2.1/jobs/create. Response code 400 Response Message {"error_code":"INVALID_PARAMETER_VALUE","message":"Could not parse URI. Please double check your input."}

1 REPLY 1

Kaniz_Fatma
Community Manager
Community Manager

Hi @traillogWindows uses a different path format compared to Unix-based systems like Ubuntu. Make sure that the paths in your script are in the correct format for Windows.

Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!