cancel
Showing results for 
Search instead for 
Did you mean: 

Routes cannot be mapped to destinations in different spaces

abdulsamad
Newcomer
0 Kudos
272

Hi All,

I am trying to practice using BTP trial account. I developed a very simple .go app and was trying to deploy from VS code terminal to the sub-account under the global account. I have also created the space quota and assigned to the dev space which am using. 

When I try to deploy the app using VS code in terminal using command cf push, it gives me this error : 'Routes cannot be mapped to destinations in different spaces'. Am not sure what to do. When I tried the command cf routes, it says no routes found. I am not able to deploy my application. Please help. 

The manifest.yml looks as below:

---
applications:
- name: firstapp
memory: 256M
buildpacks:
- go_buildpack
 
#btp #cfcli #vscode

Accepted Solutions (0)

Answers (0)