Request:-
curl -X POST -is -u UID:PWD \
-H 'Content-Type: application/json' \
https://api.bitbucket.org/2.0/repositories/test/REPO1/pipelines_config/schedules/ \
-d '
{
"uuid": "f71d6da2-88b8-471c-b0e3-f03b9d881dc0",
"enabled": "true",
"target": {
"ref_type": "branch",
"type": "pipeline_ref_target",
"ref_name": "sonar"
},
"selector": {
"type": "custom",
"pattern": "sonar"
},
"cron_pattern": "15 * * * *"
}'
Getting 500 error:-
{"code": 500, "message": "There was an error processing your request. It has been logged (ID dc52f8890d3b9350)."}
@Daniel Santos Can you please check this once?