Mendix deploy api: BRANCH_NOT_FOUND

0
Hi, I've been trying to get the example here to work: https://docs.mendix.com/apidocs-mxsdk/apidocs/example-implementation When I use 'trunk' as $BrancheName, all works well, but when I use 'my20%branch20%name', I get the BRANCH_NOT_FOUND error, although the branch clearly is there. Any advise on how to work with this?
asked
2 answers
0

Hi Elout.  In your custom string, you have 20% but it should be %20 for a space.  I'm assuming the URL encoding is done on purpose.

answered
0

Check out this post.

I think you need to make it:

branches/my branch name

and then URL encode that so it ends up like this:

branches%2Fmy%20branch%20name

 

answered