I'm using Ansible locally as curl template for the interaction with the Bitbucket API. A couple of month ago the script works perfectly but today crash after try to upload content with a multipart/form-data
The code with problem (this give 500 error, and don't say so much to identify the problem...)
Actually i solved the problem, but the script was ok, the problem was some configuration in the bitbucket cloud project (impact in all the repositories under that name). For some reason in the "Branch Model" section, with the option "development branch" i put use main branch and for "Production branch" i put No production branch. With that changes my script works and can create repositories (my total script do that)
Because the configuration was defined with: Development branch -> use specific branch and Production branch -> use specific branch. With this option i recieve the error mentioned en before question.
I share my github if someone needs help, and if can someone explain why with that options works?
My github https://github.com/fillanes/create-bitbucket-repo-ansible/ . And thanks for take a time for read this :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.