Bitbucket API requests that contain a url field in the POST body will fail if you have not configured your Jenkins URL for your instance. It seems as though Bitbucket tries to do some validation on the URL and when it finds http://unconfigured-jenkins-location/... in the url field it returns:
This response was received:{"error": {"fields": {"url": ["Enter a valid URL."]}, "message": "Bad request"}}
Bitbucket API requests that contain a
url
field in the POST body will fail if you have not configured your Jenkins URL for your instance. It seems as though Bitbucket tries to do some validation on the URL and when it findshttp://unconfigured-jenkins-location/...
in the url field it returns: