terminus
terminus copied to clipboard
`400 Bad Request` on merge-to-dev
The simplest merge-to-dev
command fails with error:
[error] Client error: `POST https://terminus.pantheon.io/api/sites/XXXX/environments/dev/workflows` resulted in a `400 Bad Request` response:
"Bad params\n"
In order to confirm this behavior, I created a new multidev from master, pushed a one-line commit, verified that there are no conflicts, and issued the merge-to-dev
command to get this result.
I am able to perform merge-to-dev through pantheon dashboard for the same changeset without any error.
terminus version 2.3.0
Same problem here, same version of terminus.
Here's verbose output:
[debug] Plugin Autoload: %dir is a Terminus source file.
[debug] #### REQUEST ####
Headers: {"Content-type":"application/json","User-Agent":"Terminus/2.3.0 (php_version=7.3.14&script=bin/terminus)","Authorization":"**HIDDEN**"}
URI: https://terminus.pantheon.io:443/api/site-names/eam-d8
Method: GET
Body: null
[debug] #### RESPONSE ####
Headers: {"Server":["nginx"],"Date":["Mon, 08 Jun 2020 15:22:39 GMT"],"Content-Type":["application\/json; charset=utf-8"],"Transfer-Encoding":["chunked"],"Connection":["keep-alive"],"X-Pantheon-Trace-Id":["e3b64620-a99b-11ea-b224-4be89fe18025"],"X-Frame-Options":["deny"],"Access-Control-Allow-Methods":["GET"],"Access-Control-Allow-Headers":["Origin, Content-Type, Accept"],"Cache-Control":["private, max-age=0, no-cache, no-store"],"Pragma":["no-cache"],"Vary":["Accept-Encoding"],"Strict-Transport-Security":["max-age=31536000"]}
Data: {"id":"bef78b81-d3af-4eff-b896-a93c46cd8e20","name":"eam-d8"}
Status Code: 200
[debug] #### REQUEST ####
Headers: {"Content-type":"application/json","User-Agent":"Terminus/2.3.0 (php_version=7.3.14&script=bin/terminus)","Authorization":"**HIDDEN**"}
URI: https://terminus.pantheon.io:443/api/sites/bef78b81-d3af-4eff-b896-a93c46cd8e20?site_state=true
Method: GET
Body: null
[debug] #### RESPONSE ####
Headers: {"Server":["nginx"],"Date":["Mon, 08 Jun 2020 15:22:40 GMT"],"Content-Type":["application\/json"],"Content-Length":["4593"],"Connection":["keep-alive"],"X-Pantheon-Trace-Id":["e43decb0-a99b-11ea-a9a5-f1137887b9fb"],"X-Frame-Options":["deny"],"Access-Control-Allow-Methods":["GET"],"Access-Control-Allow-Headers":["Origin, Content-Type, Accept"],"Cache-Control":["private, max-age=0, no-cache, no-store"],"Pragma":["no-cache"],"Vary":["Accept-Encoding"],"Strict-Transport-Security":["max-age=31536000"]}
Data: {"allow_cacheserver":true,"allow_indexserver":true,"cost":100,"created":1499788524,"created_by_user_id":"99462713-73eb-4fb4-b76c-08806e7f2313","current_num_domains":27,"domain_lookup_rax":1590681645,"drush_version":8,"framework":"drupal8","holder_id":"de1e4ec3-e1f4-437e-a3cb-f67842221760","holder_type":"user","instrument":"2cbb2e35-f61d-6abc-5aa5-e7c09c3777eb","last_code_push":{"timestamp":"2020-06-08T15:13:49","user_uuid":"94f7f8d7-5b27-4586-8651-53b3db9bba40"},"max_total_domains":27,"name":"eam-d8","organization":"2d9c0d71-3bc6-4f3a-8517-d4de231ed69a","owner":"de1e4ec3-e1f4-437e-a3cb-f67842221760","php_version":"55","plan_name":"Performance Large","preferred_availability_zone":"us-central1-b","preferred_zone":"us-central1","purchased_at":1517440017,"service_level":"performance_large","service_level_updated_at":1580499232,"upstream":{"repository_branch":"master","machine_name":"advostarter-d8","product_id":"cbdeadf3-669f-4848-94f5-c2354f256de8","url":"https:\/\/github.com\/Advomatic\/advostarter-d8.git","label":"Advostarter D8","organization_id":"2d9c0d71-3bc6-4f3a-8517-d4de231ed69a","framework":"drupal8","branch":"master","repository_url":"https:\/\/github.com\/Advomatic\/advostarter-d8.git","type":"custom","id":"cbdeadf3-669f-4848-94f5-c2354f256de8"},"label":"eam-d8","id":"bef78b81-d3af-4eff-b896-a93c46cd8e20","frozen":false,"preferred_zone_label":"United States","holder":{"profile":{"utm_term":"","invites_to_nonuser":1,"utm_content":"","experiments":{"welcome_video":"shown"},"full_name":"Tamara Plummer","initial_identity_strategy":null,"utm_campaign":"","web_services_business":null,"tracking_first_ally_reg":1468614512,"utm_device":"","registration_context":null,"role":"Asset Map Coordinator","job_function":"owner","utm_medium":"","google_adwords_account_registered_do_send":null,"tracking_first_team_invite":1473691236,"firstname":"Tamara","invites_to_site":1,"lastname":"Plummer","pda_campaign":null,"utm_source":"","phone":"2128510548","initial_identity_name":null,"created_organization_name":"Episcopal Relief & Development","guilty_of_abuse":null,"invites_sent":1,"seens":{"new-plans":true,"partner-program":true},"dtl":"","modified":1468614432,"maxdevsites":14,"verify":"3ecd4c5cbebff1e31e24693f9966ec0e","google_adwords_account_registered_sent":1468614437,"organization":"Episcopal Relief & Development"},"id":"de1e4ec3-e1f4-437e-a3cb-f67842221760","email":"[email protected]"},"settings":{"cost":100,"allow_domains":true,"upstream":{"url":"https:\/\/github.com\/Advomatic\/advostarter-d8.git","product_id":"cbdeadf3-669f-4848-94f5-c2354f256de8","branch":"master"},"site_id":"bef78b81-d3af-4eff-b896-a93c46cd8e20","stunnel":false,"min_backups":0,"owner":"de1e4ec3-e1f4-437e-a3cb-f67842221760","secure_runtime_access":false,"pingdom":0,"allow_indexserver":true,"created_by_user_id":"99462713-73eb-4fb4-b76c-08806e7f2313","failover_appserver":0,"migration_started_at":null,"cacheserver":1,"instrument":"2cbb2e35-f61d-6abc-5aa5-e7c09c3777eb","on_server_development":false,"drush_version":8,"migration_method":null,"current_num_domains":27,"appserver":1,"allow_read_slaves":false,"preferred_zone":"us-central1","php_version":"55","php_channel":"stable","allow_cacheserver":true,"ssl_enabled":null,"plan_name":"Performance Large","fileserver":1,"service_level":"performance_large","dedicated_ip":null,"dbserver":1,"migration_origin_url":null,"domain_lookup_rax":1590681645,"purchased_at":1517440017,"preferred_availability_zone":"us-central1-b","framework":"drupal8","max_total_domains":27,"key":"bef78b81-d3af-4eff-b896-a93c46cd8e20","max_num_cdes":10,"migration_completed_at":null,"guilty_of_abuse":null,"indexserver":1,"pingdom_chance":0,"preferred_pool":null,"holder_id":"de1e4ec3-e1f4-437e-a3cb-f67842221760","name":"eam-d8","created":1499788524,"max_backups":7,"last_code_push":{"timestamp":"2020-06-08T15:13:49","user_uuid":"94f7f8d7-5b27-4586-8651-53b3db9bba40"},"holder_type":"user","replica_verification_strategy":"pt-heartbeat","id":"bef78b81-d3af-4eff-b896-a93c46cd8e20","organization":"2d9c0d71-3bc6-4f3a-8517-d4de231ed69a","pingdom_manually_enabled":false,"service_level_updated_at":1580499232},"base_domain":null,"attributes":{"hostname_limit":true,"label":"eam-d8","m3_ui":true,"use_url_signer":true},"add_ons":[{"id":"NewRelic","label":"New Relic"}]}
Status Code: 200
[debug] #### REQUEST ####
Headers: {"Content-type":"application/json","User-Agent":"Terminus/2.3.0 (php_version=7.3.14&script=bin/terminus)","Authorization":"**HIDDEN**"}
URI: https://terminus.pantheon.io:443/api/sites/bef78b81-d3af-4eff-b896-a93c46cd8e20/environments
Method: GET
Body: null
[debug] #### RESPONSE ####
Headers: {"Server":["nginx"],"Date":["Mon, 08 Jun 2020 15:22:41 GMT"],"Content-Type":["application\/json; charset=utf-8"],"Transfer-Encoding":["chunked"],"Connection":["keep-alive"],"X-Pantheon-Trace-Id":["e4c6f2d0-a99b-11ea-b224-4be89fe18025"],"X-Frame-Options":["deny"],"Access-Control-Allow-Methods":["GET"],"Access-Control-Allow-Headers":["Origin, Content-Type, Accept"],"Cache-Control":["private, max-age=0, no-cache, no-store"],"Pragma":["no-cache"],"Vary":["Accept-Encoding"],"Strict-Transport-Security":["max-age=31536000"]}
Data: {"pt172188192":{"dns_zone":"pantheonsite.io","environment_created":1587434470,"environment_variables":{"DOCROOT":"web","php_version":7.3},"php_version":"73","quicksilver_configuration":{"sync_code":{"after":[{"type":"webphp","description":"Import configuration from .yml files","script":"private\/drush_config_import.php"},{"type":"webphp","description":"Log to New Relic","script":"private\/new_relic_deploy.php"}]},"deploy":{"after":[{"type":"webphp","description":"Post to Slack on deploy","script":"private\/slack_notifications.php"},{"type":"webphp","description":"Import configuration from .yml files","script":"private\/drush_config_import.php"},{"type":"webphp","description":"Log to New Relic","script":"private\/new_relic_deploy.php"}]},"create_cloud_development_environment":{"after":[{"type":"webphp","description":"Import configuration from .yml files","script":"private\/drush_config_import.php"},{"type":"webphp","description":"Index all content.","script":"private\/drush_search_api_reindex.php"}]},"clone_database":{"after":[{"type":"webphp","description":"Import configuration from .yml files","script":"private\/drush_config_import.php"},{"type":"webphp","description":"Index all content.","script":"private\/drush_search_api_reindex.php"}]}},"randseed":"MLGN7EYCHY77X8LC39SM3TM0L8QXNW3R","styx_cluster":"styx-fe4.pantheon.io","target_commit":"517497113353dad4e09865c70ed750e66656d034","target_ref":"refs\/heads\/pt172188192","key":"bef78b81-d3af-4eff-b896-a93c46cd8e20!pt172188192","preferred_pool":null,"is_initialized":true,"php_major_minor_version":"7.3","styx_clusters_for_cache_clear":["styx-fe3-europe-west4.pantheon.io","styx-fe4-europe-west4.pantheon.io","edge.live.getpantheon.com","styx-fe2-australia-southeast1.pantheon.io","styx-fe4.pantheon.io","styx-fe3-australia-southeast1.pantheon.io","styx-fe1.pantheon.io","styx-fe2.pantheon.io","styx-fe3-northamerica-northeast1.pantheon.io","styx-fe4-australia-southeast1.pantheon.io","styx-fe1-australia-southeast1.pantheon.io","styx-fe2-europe-west4.pantheon.io","styx-fe3.pantheon.io","styx-01.pantheon.io","styx-fe2-northamerica-northeast1.pantheon.io","styx-fe1-europe-west4.pantheon.io","styx-fe1-northamerica-northeast1.pantheon.io","styx-fe4-northamerica-northeast1.pantheon.io"],"lock":{"username":null,"password":null,"locked":false}},"live":{"dns_zone":"pantheonsite.io","environment_created":1499788528,"environment_variables":{"DOCROOT":"web","php_version":7.3},"maintenance":{"enabled":false},"php_version":"73","pingdom":1,"quicksilver_configuration":{"sync_code":{"after":[{"type":"webphp","description":"Import configuration from .yml files","script":"private\/drush_config_import.php"},{"type":"webphp","description":"Log to New Relic","script":"private\/new_relic_deploy.php"}]},"deploy":{"after":[{"type":"webphp","description":"Post to Slack on deploy","script":"private\/slack_notifications.php"},{"type":"webphp","description":"Import configuration from .yml files","script":"private\/drush_config_import.php"},{"type":"webphp","description":"Log to New Relic","script":"private\/new_relic_deploy.php"}]},"create_cloud_development_environment":{"after":[{"type":"webphp","description":"Import configuration from .yml files","script":"private\/drush_config_import.php"},{"type":"webphp","description":"Index all content.","script":"private\/drush_search_api_reindex.php"}]},"clone_database":{"after":[{"type":"webphp","description":"Import configuration from .yml files","script":"private\/drush_config_import.php"},{"type":"webphp","description":"Index all content.","script":"private\/drush_search_api_reindex.php"}]}},"randseed":"93T5JX5MJWU07S6IO2GQYUVQ68DF5MJT","styx_cluster":"styx-fe4.pantheon.io","target_commit":"724a123f501913051916b057ba32823ce78c85dc","target_ref":"refs\/tags\/pantheon_live_119","key":"bef78b81-d3af-4eff-b896-a93c46cd8e20!live","preferred_pool":null,"is_initialized":true,"php_major_minor_version":"7.3","styx_clusters_for_cache_clear":["styx-fe3-europe-west4.pantheon.io","styx-fe4-europe-west4.pantheon.io","edge.live.getpantheon.com","styx-fe2-australia-southeast1.pantheon.io","styx-fe4.pantheon.io","styx-fe3-australia-southeast1.pantheon.io","styx-fe1.pantheon.io","styx-fe2.pantheon.io","styx-fe3-northamerica-northeast1.pantheon.io","styx-fe4-australia-southeast1.pantheon.io","styx-fe1-australia-southeast1.pantheon.io","styx-fe2-europe-west4.pantheon.io","styx-fe3.pantheon.io","styx-01.pantheon.io","styx-fe2-northamerica-northeast1.pantheon.io","styx-fe1-europe-west4.pantheon.io","styx-fe1-northamerica-northeast1.pantheon.io","styx-fe4-northamerica-northeast1.pantheon.io"],"lock":{"username":null,"password":null,"locked":false}},"zd4503":{"dns_zone":"pantheonsite.io","environment_created":1590681332,"environment_variables":{"DOCROOT":"web","php_version":7.3},"php_version":"73","quicksilver_configuration":{"sync_code":{"after":[{"type":"webphp","description":"Import configuration from .yml files","script":"private\/drush_config_import.php"},{"type":"webphp","description":"Log to New Relic","script":"private\/new_relic_deploy.php"}]},"deploy":{"after":[{"type":"webphp","description":"Post to Slack on deploy","script":"private\/slack_notifications.php"},{"type":"webphp","description":"Import configuration from .yml files","script":"private\/drush_config_import.php"},{"type":"webphp","description":"Log to New Relic","script":"private\/new_relic_deploy.php"}]},"create_cloud_development_environment":{"after":[{"type":"webphp","description":"Import configuration from .yml files","script":"private\/drush_config_import.php"},{"type":"webphp","description":"Index all content.","script":"private\/drush_search_api_reindex.php"}]},"clone_database":{"after":[{"type":"webphp","description":"Import configuration from .yml files","script":"private\/drush_config_import.php"},{"type":"webphp","description":"Index all content.","script":"private\/drush_search_api_reindex.php"}]}},"randseed":"ZG7NQQZQR8UHRL9NI3K2VUWOTSAKMRZA","styx_cluster":"styx-fe4.pantheon.io","target_commit":"2b80ea1828406529a4ceb1c51f964a04e5504ee4","target_ref":"refs\/heads\/zd4503","key":"bef78b81-d3af-4eff-b896-a93c46cd8e20!zd4503","preferred_pool":null,"is_initialized":true,"php_major_minor_version":"7.3","styx_clusters_for_cache_clear":["styx-fe3-europe-west4.pantheon.io","styx-fe4-europe-west4.pantheon.io","edge.live.getpantheon.com","styx-fe2-australia-southeast1.pantheon.io","styx-fe4.pantheon.io","styx-fe3-australia-southeast1.pantheon.io","styx-fe1.pantheon.io","styx-fe2.pantheon.io","styx-fe3-northamerica-northeast1.pantheon.io","styx-fe4-australia-southeast1.pantheon.io","styx-fe1-australia-southeast1.pantheon.io","styx-fe2-europe-west4.pantheon.io","styx-fe3.pantheon.io","styx-01.pantheon.io","styx-fe2-northamerica-northeast1.pantheon.io","styx-fe1-europe-west4.pantheon.io","styx-fe1-northamerica-northeast1.pantheon.io","styx-fe4-northamerica-northeast1.pantheon.io"],"lock":{"username":null,"password":null,"locked":false}},"zd4059":{"dns_zone":"pantheonsite.io","environment_created":1588252362,"environment_variables":{"DOCROOT":"web","php_version":7.3},"php_version":"73","quicksilver_configuration":{"sync_code":{"after":[{"type":"webphp","description":"Import configuration from .yml files","script":"private\/drush_config_import.php"},{"type":"webphp","description":"Log to New Relic","script":"private\/new_relic_deploy.php"}]},"deploy":{"after":[{"type":"webphp","description":"Post to Slack on deploy","script":"private\/slack_notifications.php"},{"type":"webphp","description":"Import configuration from .yml files","script":"private\/drush_config_import.php"},{"type":"webphp","description":"Log to New Relic","script":"private\/new_relic_deploy.php"}]},"create_cloud_development_environment":{"after":[{"type":"webphp","description":"Import configuration from .yml files","script":"private\/drush_config_import.php"},{"type":"webphp","description":"Index all content.","script":"private\/drush_search_api_reindex.php"}]},"clone_database":{"after":[{"type":"webphp","description":"Import configuration from .yml files","script":"private\/drush_config_import.php"},{"type":"webphp","description":"Index all content.","script":"private\/drush_search_api_reindex.php"}]}},"randseed":"7K64YW0YFTVVCCZ2YXBZMVE6DJH6NEF6","styx_cluster":"styx-fe4.pantheon.io","target_commit":"cc9d57414b24f9650fd4528384a6c1017562ecd6","target_ref":"refs\/heads\/zd4059","key":"bef78b81-d3af-4eff-b896-a93c46cd8e20!zd4059","preferred_pool":null,"is_initialized":true,"php_major_minor_version":"7.3","styx_clusters_for_cache_clear":["styx-fe3-europe-west4.pantheon.io","styx-fe4-europe-west4.pantheon.io","edge.live.getpantheon.com","styx-fe2-australia-southeast1.pantheon.io","styx-fe4.pantheon.io","styx-fe3-australia-southeast1.pantheon.io","styx-fe1.pantheon.io","styx-fe2.pantheon.io","styx-fe3-northamerica-northeast1.pantheon.io","styx-fe4-australia-southeast1.pantheon.io","styx-fe1-australia-southeast1.pantheon.io","styx-fe2-europe-west4.pantheon.io","styx-fe3.pantheon.io","styx-01.pantheon.io","styx-fe2-northamerica-northeast1.pantheon.io","styx-fe1-europe-west4.pantheon.io","styx-fe1-northamerica-northeast1.pantheon.io","styx-fe4-northamerica-northeast1.pantheon.io"],"lock":{"username":null,"password":null,"locked":false}},"test":{"dns_zone":"pantheonsite.io","environment_created":1499788526,"environment_variables":{"DOCROOT":"web","php_version":7.3},"maintenance":{"enabled":false},"php_version":"73","quicksilver_configuration":{"sync_code":{"after":[{"type":"webphp","description":"Import configuration from .yml files","script":"private\/drush_config_import.php"},{"type":"webphp","description":"Log to New Relic","script":"private\/new_relic_deploy.php"}]},"deploy":{"after":[{"type":"webphp","description":"Post to Slack on deploy","script":"private\/slack_notifications.php"},{"type":"webphp","description":"Import configuration from .yml files","script":"private\/drush_config_import.php"},{"type":"webphp","description":"Log to New Relic","script":"private\/new_relic_deploy.php"}]},"create_cloud_development_environment":{"after":[{"type":"webphp","description":"Import configuration from .yml files","script":"private\/drush_config_import.php"},{"type":"webphp","description":"Index all content.","script":"private\/drush_search_api_reindex.php"}]},"clone_database":{"after":[{"type":"webphp","description":"Import configuration from .yml files","script":"private\/drush_config_import.php"},{"type":"webphp","description":"Index all content.","script":"private\/drush_search_api_reindex.php"}]}},"randseed":"TFL7LX6QV3SKF9J0CDFL54GEOO0MBAP5","styx_cluster":"styx-fe4.pantheon.io","target_commit":"724a123f501913051916b057ba32823ce78c85dc","target_ref":"refs\/tags\/pantheon_test_136","key":"bef78b81-d3af-4eff-b896-a93c46cd8e20!test","preferred_pool":null,"is_initialized":true,"php_major_minor_version":"7.3","styx_clusters_for_cache_clear":["styx-fe3-europe-west4.pantheon.io","styx-fe4-europe-west4.pantheon.io","edge.live.getpantheon.com","styx-fe2-australia-southeast1.pantheon.io","styx-fe4.pantheon.io","styx-fe3-australia-southeast1.pantheon.io","styx-fe1.pantheon.io","styx-fe2.pantheon.io","styx-fe3-northamerica-northeast1.pantheon.io","styx-fe4-australia-southeast1.pantheon.io","styx-fe1-australia-southeast1.pantheon.io","styx-fe2-europe-west4.pantheon.io","styx-fe3.pantheon.io","styx-01.pantheon.io","styx-fe2-northamerica-northeast1.pantheon.io","styx-fe1-europe-west4.pantheon.io","styx-fe1-northamerica-northeast1.pantheon.io","styx-fe4-northamerica-northeast1.pantheon.io"],"lock":{"username":null,"password":null,"locked":false}},"zd3688":{"dns_zone":"pantheonsite.io","environment_created":1587418530,"environment_variables":{"DOCROOT":"web","php_version":7.3},"php_version":"73","quicksilver_configuration":{"sync_code":{"after":[{"type":"webphp","description":"Import configuration from .yml files","script":"private\/drush_config_import.php"},{"type":"webphp","description":"Log to New Relic","script":"private\/new_relic_deploy.php"}]},"deploy":{"after":[{"type":"webphp","description":"Post to Slack on deploy","script":"private\/slack_notifications.php"},{"type":"webphp","description":"Import configuration from .yml files","script":"private\/drush_config_import.php"},{"type":"webphp","description":"Log to New Relic","script":"private\/new_relic_deploy.php"}]},"create_cloud_development_environment":{"after":[{"type":"webphp","description":"Import configuration from .yml files","script":"private\/drush_config_import.php"},{"type":"webphp","description":"Index all content.","script":"private\/drush_search_api_reindex.php"}]},"clone_database":{"after":[{"type":"webphp","description":"Import configuration from .yml files","script":"private\/drush_config_import.php"},{"type":"webphp","description":"Index all content.","script":"private\/drush_search_api_reindex.php"}]}},"randseed":"OQSCY03SFJ609G4M4D0LJ17DP8Z8IKTY","styx_cluster":"styx-fe4.pantheon.io","target_commit":"517497113353dad4e09865c70ed750e66656d034","target_ref":"refs\/heads\/zd3688","key":"bef78b81-d3af-4eff-b896-a93c46cd8e20!zd3688","preferred_pool":null,"is_initialized":true,"php_major_minor_version":"7.3","styx_clusters_for_cache_clear":["styx-fe3-europe-west4.pantheon.io","styx-fe4-europe-west4.pantheon.io","edge.live.getpantheon.com","styx-fe2-australia-southeast1.pantheon.io","styx-fe4.pantheon.io","styx-fe3-australia-southeast1.pantheon.io","styx-fe1.pantheon.io","styx-fe2.pantheon.io","styx-fe3-northamerica-northeast1.pantheon.io","styx-fe4-australia-southeast1.pantheon.io","styx-fe1-australia-southeast1.pantheon.io","styx-fe2-europe-west4.pantheon.io","styx-fe3.pantheon.io","styx-01.pantheon.io","styx-fe2-northamerica-northeast1.pantheon.io","styx-fe1-europe-west4.pantheon.io","styx-fe1-northamerica-northeast1.pantheon.io","styx-fe4-northamerica-northeast1.pantheon.io"],"lock":{"username":null,"password":null,"locked":false}},"pt205624897":{"dns_zone":"pantheonsite.io","environment_created":1565727454,"environment_variables":{"DOCROOT":"web","php_version":7.2},"php_version":"72","quicksilver_configuration":{"sync_code":{"after":[{"type":"webphp","description":"Import configuration from .yml files","script":"private\/drush_config_import.php"},{"type":"webphp","description":"Log to New Relic","script":"private\/new_relic_deploy.php"}]},"deploy":{"after":[{"type":"webphp","description":"Post to Slack on deploy","script":"private\/slack_notifications.php"},{"type":"webphp","description":"Import configuration from .yml files","script":"private\/drush_config_import.php"},{"type":"webphp","description":"Log to New Relic","script":"private\/new_relic_deploy.php"}]},"create_cloud_development_environment":{"after":[{"type":"webphp","description":"Import configuration from .yml files","script":"private\/drush_config_import.php"},{"type":"webphp","description":"Index all content.","script":"private\/drush_search_api_reindex.php"}]},"clone_database":{"after":[{"type":"webphp","description":"Import configuration from .yml files","script":"private\/drush_config_import.php"},{"type":"webphp","description":"Index all content.","script":"private\/drush_search_api_reindex.php"}]}},"randseed":"ID3QG0NLB2AMS2OMIQ8SUIGIU1K13K4C","styx_cluster":"styx-fe4.pantheon.io","target_commit":"f3a5584ff07d5e58580b2744613425bdeced6e5c","target_ref":"refs\/heads\/pt205624897","key":"bef78b81-d3af-4eff-b896-a93c46cd8e20!pt205624897","preferred_pool":null,"is_initialized":true,"php_major_minor_version":"7.2","styx_clusters_for_cache_clear":["styx-fe3-europe-west4.pantheon.io","styx-fe4-europe-west4.pantheon.io","edge.live.getpantheon.com","styx-fe2-australia-southeast1.pantheon.io","styx-fe4.pantheon.io","styx-fe3-australia-southeast1.pantheon.io","styx-fe1.pantheon.io","styx-fe2.pantheon.io","styx-fe3-northamerica-northeast1.pantheon.io","styx-fe4-australia-southeast1.pantheon.io","styx-fe1-australia-southeast1.pantheon.io","styx-fe2-europe-west4.pantheon.io","styx-fe3.pantheon.io","styx-01.pantheon.io","styx-fe2-northamerica-northeast1.pantheon.io","styx-fe1-europe-west4.pantheon.io","styx-fe1-northamerica-northeast1.pantheon.io","styx-fe4-northamerica-northeast1.pantheon.io"],"lock":{"username":null,"password":null,"locked":false}},"pt172679308":{"diffstat":{},"dns_zone":"pantheonsite.io","environment_created":1589480759,"environment_variables":{"DOCROOT":"web","php_version":7.3},"on_server_development":false,"php_version":"73","quicksilver_configuration":{"sync_code":{"after":[{"type":"webphp","description":"Import configuration from .yml files","script":"private\/drush_config_import.php"},{"type":"webphp","description":"Log to New Relic","script":"private\/new_relic_deploy.php"}]},"deploy":{"after":[{"type":"webphp","description":"Post to Slack on deploy","script":"private\/slack_notifications.php"},{"type":"webphp","description":"Import configuration from .yml files","script":"private\/drush_config_import.php"},{"type":"webphp","description":"Log to New Relic","script":"private\/new_relic_deploy.php"}]},"create_cloud_development_environment":{"after":[{"type":"webphp","description":"Import configuration from .yml files","script":"private\/drush_config_import.php"},{"type":"webphp","description":"Index all content.","script":"private\/drush_search_api_reindex.php"}]},"clone_database":{"after":[{"type":"webphp","description":"Import configuration from .yml files","script":"private\/drush_config_import.php"},{"type":"webphp","description":"Index all content.","script":"private\/drush_search_api_reindex.php"}]}},"randseed":"HYAUN6OF2VEHL6E6HYKETZ53XOKL7KAT","styx_cluster":"styx-fe4.pantheon.io","target_commit":"0f7f6e1e2b6a2ff6baef26ab35bc5f1ee08a5c8e","target_ref":"refs\/heads\/pt172679308","key":"bef78b81-d3af-4eff-b896-a93c46cd8e20!pt172679308","preferred_pool":null,"is_initialized":true,"php_major_minor_version":"7.3","styx_clusters_for_cache_clear":["styx-fe3-europe-west4.pantheon.io","styx-fe4-europe-west4.pantheon.io","edge.live.getpantheon.com","styx-fe2-australia-southeast1.pantheon.io","styx-fe4.pantheon.io","styx-fe3-australia-southeast1.pantheon.io","styx-fe1.pantheon.io","styx-fe2.pantheon.io","styx-fe3-northamerica-northeast1.pantheon.io","styx-fe4-australia-southeast1.pantheon.io","styx-fe1-australia-southeast1.pantheon.io","styx-fe2-europe-west4.pantheon.io","styx-fe3.pantheon.io","styx-01.pantheon.io","styx-fe2-northamerica-northeast1.pantheon.io","styx-fe1-europe-west4.pantheon.io","styx-fe1-northamerica-northeast1.pantheon.io","styx-fe4-northamerica-northeast1.pantheon.io"],"lock":{"username":null,"password":null,"locked":false}},"pt167629749":{"dns_zone":"pantheonsite.io","environment_created":1564970566,"environment_variables":{"DOCROOT":"web","php_version":7.2},"php_version":"72","quicksilver_configuration":{"sync_code":{"after":[{"type":"webphp","description":"Import configuration from .yml files","script":"private\/drush_config_import.php"},{"type":"webphp","description":"Log to New Relic","script":"private\/new_relic_deploy.php"}]},"deploy":{"after":[{"type":"webphp","description":"Post to Slack on deploy","script":"private\/slack_notifications.php"},{"type":"webphp","description":"Import configuration from .yml files","script":"private\/drush_config_import.php"},{"type":"webphp","description":"Log to New Relic","script":"private\/new_relic_deploy.php"}]},"create_cloud_development_environment":{"after":[{"type":"webphp","description":"Import configuration from .yml files","script":"private\/drush_config_import.php"},{"type":"webphp","description":"Index all content.","script":"private\/drush_search_api_reindex.php"}]},"clone_database":{"after":[{"type":"webphp","description":"Import configuration from .yml files","script":"private\/drush_config_import.php"},{"type":"webphp","description":"Index all content.","script":"private\/drush_search_api_reindex.php"}]}},"randseed":"YNF3RD9LIQMOQMLRED48DNCAUE6VQ95T","styx_cluster":"styx-fe4.pantheon.io","target_commit":"4f016c28b1b1bd5d5c4a1e05d9af0c188d1d9099","target_ref":"refs\/heads\/pt167629749","key":"bef78b81-d3af-4eff-b896-a93c46cd8e20!pt167629749","preferred_pool":null,"is_initialized":true,"php_major_minor_version":"7.2","styx_clusters_for_cache_clear":["styx-fe3-europe-west4.pantheon.io","styx-fe4-europe-west4.pantheon.io","edge.live.getpantheon.com","styx-fe2-australia-southeast1.pantheon.io","styx-fe4.pantheon.io","styx-fe3-australia-southeast1.pantheon.io","styx-fe1.pantheon.io","styx-fe2.pantheon.io","styx-fe3-northamerica-northeast1.pantheon.io","styx-fe4-australia-southeast1.pantheon.io","styx-fe1-australia-southeast1.pantheon.io","styx-fe2-europe-west4.pantheon.io","styx-fe3.pantheon.io","styx-01.pantheon.io","styx-fe2-northamerica-northeast1.pantheon.io","styx-fe1-europe-west4.pantheon.io","styx-fe1-northamerica-northeast1.pantheon.io","styx-fe4-northamerica-northeast1.pantheon.io"],"lock":{"username":null,"password":null,"locked":false}},"pt172679303":{"diffstat":{},"dns_zone":"pantheonsite.io","environment_created":1590021555,"environment_variables":{"DOCROOT":"web","php_version":7.3},"on_server_development":false,"php_version":"73","quicksilver_configuration":{"sync_code":{"after":[{"type":"webphp","description":"Import configuration from .yml files","script":"private\/drush_config_import.php"},{"type":"webphp","description":"Log to New Relic","script":"private\/new_relic_deploy.php"}]},"deploy":{"after":[{"type":"webphp","description":"Post to Slack on deploy","script":"private\/slack_notifications.php"},{"type":"webphp","description":"Import configuration from .yml files","script":"private\/drush_config_import.php"},{"type":"webphp","description":"Log to New Relic","script":"private\/new_relic_deploy.php"}]},"create_cloud_development_environment":{"after":[{"type":"webphp","description":"Import configuration from .yml files","script":"private\/drush_config_import.php"},{"type":"webphp","description":"Index all content.","script":"private\/drush_search_api_reindex.php"}]},"clone_database":{"after":[{"type":"webphp","description":"Import configuration from .yml files","script":"private\/drush_config_import.php"},{"type":"webphp","description":"Index all content.","script":"private\/drush_search_api_reindex.php"}]}},"randseed":"44FFDGGQJRUT2YOQI6QGLEX95W3D4SRT","styx_cluster":"styx-fe4.pantheon.io","target_commit":"5f9b53e6ba76c16e761c5da3f523c9e35737b213","target_ref":"refs\/heads\/pt172679303","key":"bef78b81-d3af-4eff-b896-a93c46cd8e20!pt172679303","preferred_pool":null,"is_initialized":true,"php_major_minor_version":"7.3","styx_clusters_for_cache_clear":["styx-fe3-europe-west4.pantheon.io","styx-fe4-europe-west4.pantheon.io","edge.live.getpantheon.com","styx-fe2-australia-southeast1.pantheon.io","styx-fe4.pantheon.io","styx-fe3-australia-southeast1.pantheon.io","styx-fe1.pantheon.io","styx-fe2.pantheon.io","styx-fe3-northamerica-northeast1.pantheon.io","styx-fe4-australia-southeast1.pantheon.io","styx-fe1-australia-southeast1.pantheon.io","styx-fe2-europe-west4.pantheon.io","styx-fe3.pantheon.io","styx-01.pantheon.io","styx-fe2-northamerica-northeast1.pantheon.io","styx-fe1-europe-west4.pantheon.io","styx-fe1-northamerica-northeast1.pantheon.io","styx-fe4-northamerica-northeast1.pantheon.io"],"lock":{"username":null,"password":null,"locked":false}},"dev":{"diffstat":{},"dns_zone":"pantheonsite.io","environment_created":1499788524,"environment_variables":{"DOCROOT":"web","php_version":7.3},"on_server_development":false,"php_version":"73","quicksilver_configuration":{"sync_code":{"after":[{"type":"webphp","description":"Import configuration from .yml files","script":"private\/drush_config_import.php"},{"type":"webphp","description":"Log to New Relic","script":"private\/new_relic_deploy.php"}]},"deploy":{"after":[{"type":"webphp","description":"Post to Slack on deploy","script":"private\/slack_notifications.php"},{"type":"webphp","description":"Import configuration from .yml files","script":"private\/drush_config_import.php"},{"type":"webphp","description":"Log to New Relic","script":"private\/new_relic_deploy.php"}]},"create_cloud_development_environment":{"after":[{"type":"webphp","description":"Import configuration from .yml files","script":"private\/drush_config_import.php"},{"type":"webphp","description":"Index all content.","script":"private\/drush_search_api_reindex.php"}]},"clone_database":{"after":[{"type":"webphp","description":"Import configuration from .yml files","script":"private\/drush_config_import.php"},{"type":"webphp","description":"Index all content.","script":"private\/drush_search_api_reindex.php"}]}},"randseed":"JAJC4M12B0NJWR64C6Z0TFWP73TPVHD2","styx_cluster":"styx-fe4.pantheon.io","target_commit":"dc75895a7e80ff95f8d2c0e06f82d311d48d13b9","target_ref":"refs\/heads\/master","watchers":1,"key":"bef78b81-d3af-4eff-b896-a93c46cd8e20!dev","preferred_pool":null,"is_initialized":true,"php_major_minor_version":"7.3","styx_clusters_for_cache_clear":["styx-fe3-europe-west4.pantheon.io","styx-fe4-europe-west4.pantheon.io","edge.live.getpantheon.com","styx-fe2-australia-southeast1.pantheon.io","styx-fe4.pantheon.io","styx-fe3-australia-southeast1.pantheon.io","styx-fe1.pantheon.io","styx-fe2.pantheon.io","styx-fe3-northamerica-northeast1.pantheon.io","styx-fe4-australia-southeast1.pantheon.io","styx-fe1-australia-southeast1.pantheon.io","styx-fe2-europe-west4.pantheon.io","styx-fe3.pantheon.io","styx-01.pantheon.io","styx-fe2-northamerica-northeast1.pantheon.io","styx-fe1-europe-west4.pantheon.io","styx-fe1-northamerica-northeast1.pantheon.io","styx-fe4-northamerica-northeast1.pantheon.io"],"lock":{"username":null,"password":null,"locked":false}},"2019":{"dns_zone":"pantheonsite.io","environment_created":1560192772,"environment_variables":{"DOCROOT":"web","php_version":7.2},"maintenance":{"enabled":false},"php_version":"72","quicksilver_configuration":{"sync_code":{"after":[{"type":"webphp","description":"Import configuration from .yml files","script":"private\/drush_config_import.php"},{"type":"webphp","description":"Log to New Relic","script":"private\/new_relic_deploy.php"}]},"deploy":{"after":[{"type":"webphp","description":"Post to Slack on deploy","script":"private\/slack_notifications.php"},{"type":"webphp","description":"Import configuration from .yml files","script":"private\/drush_config_import.php"},{"type":"webphp","description":"Log to New Relic","script":"private\/new_relic_deploy.php"}]},"create_cloud_development_environment":{"after":[{"type":"webphp","description":"Import configuration from .yml files","script":"private\/drush_config_import.php"},{"type":"webphp","description":"Index all content.","script":"private\/drush_search_api_reindex.php"}]},"clone_database":{"after":[{"type":"webphp","description":"Import configuration from .yml files","script":"private\/drush_config_import.php"},{"type":"webphp","description":"Index all content.","script":"private\/drush_search_api_reindex.php"}]}},"randseed":"FFDHXCJK8F6CANF9ACPB3GC871H0GY8Q","styx_cluster":"styx-fe4.pantheon.io","target_commit":"d9f6124af1b66e2edc2619b835d25e73793327d2","target_ref":"refs\/heads\/2019","key":"bef78b81-d3af-4eff-b896-a93c46cd8e20!2019","preferred_pool":null,"is_initialized":true,"php_major_minor_version":"7.2","styx_clusters_for_cache_clear":["styx-fe3-europe-west4.pantheon.io","styx-fe4-europe-west4.pantheon.io","edge.live.getpantheon.com","styx-fe2-australia-southeast1.pantheon.io","styx-fe4.pantheon.io","styx-fe3-australia-southeast1.pantheon.io","styx-fe1.pantheon.io","styx-fe2.pantheon.io","styx-fe3-northamerica-northeast1.pantheon.io","styx-fe4-australia-southeast1.pantheon.io","styx-fe1-australia-southeast1.pantheon.io","styx-fe2-europe-west4.pantheon.io","styx-fe3.pantheon.io","styx-01.pantheon.io","styx-fe2-northamerica-northeast1.pantheon.io","styx-fe1-europe-west4.pantheon.io","styx-fe1-northamerica-northeast1.pantheon.io","styx-fe4-northamerica-northeast1.pantheon.io"],"lock":{"username":null,"password":null,"locked":false}},"2020":{"dns_zone":"pantheonsite.io","environment_created":1588817386,"environment_variables":{"DOCROOT":"web","php_version":7.3},"php_version":"73","quicksilver_configuration":{"sync_code":{"after":[{"type":"webphp","description":"Import configuration from .yml files","script":"private\/drush_config_import.php"},{"type":"webphp","description":"Log to New Relic","script":"private\/new_relic_deploy.php"}]},"deploy":{"after":[{"type":"webphp","description":"Post to Slack on deploy","script":"private\/slack_notifications.php"},{"type":"webphp","description":"Import configuration from .yml files","script":"private\/drush_config_import.php"},{"type":"webphp","description":"Log to New Relic","script":"private\/new_relic_deploy.php"}]},"create_cloud_development_environment":{"after":[{"type":"webphp","description":"Import configuration from .yml files","script":"private\/drush_config_import.php"},{"type":"webphp","description":"Index all content.","script":"private\/drush_search_api_reindex.php"}]},"clone_database":{"after":[{"type":"webphp","description":"Import configuration from .yml files","script":"private\/drush_config_import.php"},{"type":"webphp","description":"Index all content.","script":"private\/drush_search_api_reindex.php"}]}},"randseed":"60G3PNF1SQEK42DLUWMM2RPIECIRGOBL","styx_cluster":"styx-fe4.pantheon.io","target_commit":"dc75895a7e80ff95f8d2c0e06f82d311d48d13b9","target_ref":"refs\/heads\/2020","key":"bef78b81-d3af-4eff-b896-a93c46cd8e20!2020","preferred_pool":null,"is_initialized":true,"php_major_minor_version":"7.3","styx_clusters_for_cache_clear":["styx-fe3-europe-west4.pantheon.io","styx-fe4-europe-west4.pantheon.io","edge.live.getpantheon.com","styx-fe2-australia-southeast1.pantheon.io","styx-fe4.pantheon.io","styx-fe3-australia-southeast1.pantheon.io","styx-fe1.pantheon.io","styx-fe2.pantheon.io","styx-fe3-northamerica-northeast1.pantheon.io","styx-fe4-australia-southeast1.pantheon.io","styx-fe1-australia-southeast1.pantheon.io","styx-fe2-europe-west4.pantheon.io","styx-fe3.pantheon.io","styx-01.pantheon.io","styx-fe2-northamerica-northeast1.pantheon.io","styx-fe1-europe-west4.pantheon.io","styx-fe1-northamerica-northeast1.pantheon.io","styx-fe4-northamerica-northeast1.pantheon.io"],"lock":{"username":null,"password":null,"locked":false}}}
Status Code: 200
[debug] #### REQUEST ####
Headers: {"Content-type":"application/json","User-Agent":"Terminus/2.3.0 (php_version=7.3.14&script=bin/terminus)","Authorization":"**HIDDEN**"}
URI: https://terminus.pantheon.io:443/api/sites/bef78b81-d3af-4eff-b896-a93c46cd8e20/environments/dev/workflows
Method: POST
Body: {"type":"merge_cloud_development_environment_into_dev","params":{"updatedb":false,"from_environment":2020}}
[error] Client error: `POST https://terminus.pantheon.io/api/sites/bef78b81-d3af-4eff-b896-a93c46cd8e20/environments/dev/workflows` resulted in a `400 Bad Request` response:
"Bad params\n"
Actually, in my case I think it was maybe because the branch was identical to master (I had merge conflicts, so I had to resolve CLI).