Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i am getting an error while starting triggers using liprec.vsts-publish-adf.toggle-adf-trigger.toggle-adf-trigger@2 task #103

Open
sksadik opened this issue Apr 22, 2024 · 0 comments

Comments

@sksadik
Copy link

sksadik commented Apr 22, 2024

Hi @liprec I am using the task created by you to start/stop triggers in my ADF resources. It used to work without any issues but from past few months i am facing the issue while starting the triggers post deployment and the error message states below. Could you please check and fix the issue or at least suggest what could be done to overcome the issue from occurring again and again in future.

Please note that the trigger name is getting differed every time the ci/cd pipeline gets triggered for deployment.

Error message:

Error: {"headers":{"_headersMap":{"cache-control":{"name":"cache-control","value":"no-cache"},"connection":{"name":"connection","value":"close"},"content-length":{"name":"content-length","value":"187"},"content-type":{"name":"content-type","value":"application/json; charset=utf-8"},"date":{"name":"date","value":"Sat, 06 Apr 2024 07:03:38 GMT"},"expires":{"name":"expires","value":"-1"},"pragma":{"name":"pragma","value":"no-cache"},"server":{"name":"server","value":"Kestrel"},"strict-transport-security":{"name":"strict-transport-security","value":"max-age=31536000; includeSubDomains"},"x-content-type-options":{"name":"x-content-type-options","value":"nosniff"},"x-ms-correlation-request-id":{"name":"x-ms-correlation-request-id","value":"26bc26a1-6e9c-4182-a9ca-a9ea6ef716cc"},"x-ms-ratelimit-remaining-subscription-writes":{"name":"x-ms-ratelimit-remaining-subscription-writes","value":"1199"},"x-ms-request-id":{"name":"x-ms-request-id","value":"26bc26a1-6e9c-4182-a9ca-a9ea6ef716cc"},"x-ms-routing-request-id":{"name":"x-ms-routing-request-id","value":"WESTEUROPE:20240406T070338Z:26bc26a1-6e9c-4182-a9ca-a9ea6ef716cc"}}},"request":{"url":"https://management.azure.com/subscriptions/fd43d2cb-5798-4c9b-bf5e-05006585d0cd/resourceGroups/GLOBAL-XSEG-SRM-DATA-FOUNDATION-PROD-RG/providers/Microsoft.DataFactory/factories/globalxsegsrmdatafoundationprodadfdist/triggers/Loading_Completed_MAC_Blob_Distributor/start?api-version=2018-06-01","method":"POST","headers":{"_headersMap":{"content-type":{"name":"content-type","value":"application/json"},"accept-language":{"name":"accept-language","value":"en-US"},"x-ms-client-request-id":{"name":"x-ms-client-request-id","value":"b8841860-4fe8-4830-b951-545186982265"},"authorization":{"name":"authorization","value":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6InEtMjNmYWxldlpoaEQzaG05Q1Fia1A1TVF5VSIsImtpZCI6InEtMjNmYWxldlpoaEQzaG05Q1Fia1A1TVF5VSJ9.eyJhdWQiOiJodHRwczovL21hbmFnZW1lbnQuYXp1cmUuY29tIiwiaXNzIjoiaHR0cHM6Ly9zdHMud2luZG93cy5uZXQvMmZjMTNlMzQtZjAzZi00OThiLTk4MmEtN2NiNDQ2ZTI1YmM2LyIsImlhdCI6MTcxMjM4NjY2MCwibmJmIjoxNzEyMzg2NjYwLCJleHAiOjE3MTIzOTA1NjAsIl9jbGFpbV9uYW1lcyI6eyJncm91cHMiOiJzcmMxIn0sIl9jbGFpbV9zb3VyY2VzIjp7InNyYzEiOnsiZW5kcG9pbnQiOiJodHRwczovL2dyYXBoLndpbmRvd3MubmV0LzJmYzEzZTM0LWYwM2YtNDk4Yi05ODJhLTdjYjQ0NmUyNWJjNi9zZXJ2aWNlUHJpbmNpcGFscy81YmQyOTgyYy0wOGNlLTQ0ZjctYWNiMS02YjAzYzkzMjVmYTYvZ2V0TWVtYmVyT2JqZWN0cyJ9fSwiYWlvIjoiQVNRQTIvOFdBQUFBRUl5K0VObTBtVFhHVFh5YW5sekVRV3d5TmU2eU0rem9WY0pscER6clpsST0iLCJhcHBpZCI6IjgwYjQ5MTlmLWNiMmYtNGY2OC05MTRmLTJiMWEwY2M2NDMyOSIsImFwcGlkYWNyIjoiMSIsImlkcCI6Imh0dHBzOi8vc3RzLndpbmRvd3MubmV0LzJmYzEzZTM0LWYwM2YtNDk4Yi05ODJhLTdjYjQ0NmUyNWJjNi8iLCJpZHR5cCI6ImFwcCIsIm9pZCI6IjViZDI5ODJjLTA4Y2UtNDRmNy1hY2IxLTZiMDNjOTMyNWZhNiIsInJoIjoiMC5BUTRBTkQ3Qkx6X3dpMG1ZS255MFJ1SmJ4a1pJZjNrQXV0ZFB1a1Bhd2ZqMk1CTU9BQUEuIiwic3ViIjoiNWJkMjk4MmMtMDhjZS00NGY3LWFjYjEtNmIwM2M5MzI1ZmE2IiwidGlkIjoiMmZjMTNlMzQtZjAzZi00OThiLTk4MmEtN2NiNDQ2ZTI1YmM2IiwidXRpIjoiZGh3YkxmREpmVUNPYmp6NUE4Uk5BQSIsInZlciI6IjEuMCIsInhtc19jYWUiOiIxIiwieG1zX2NjIjpbImNwMSJdLCJ4bXNfcmQiOiIwLjQyTGxZQkppNUFNQSIsInhtc19zc20iOiIxIiwieG1zX3RjZHQiOjE0MDAxODg2OTB9.YxT5xktbNYn5s43E0jEaLTMcFF-rZ-WcySXXZ4wWeKcxh23KNkc8ajR2m9xfMub-gcSQntxqi4DChd8JS9IGH38oXmwcL-w5PHHxRjTePaXWEYcKWYYZ00hpSayu8J5a_ibaLVj57DgPQ2JQ9erW2eWZMM1hf0X4ZwxBUtM_d1N4-TshVAhoAnxOu-iT3KzetKcyDg438y7ot7aRQmv42SbMtqT4JL1CtNY1H8Dg9E2LTZZLI906Y_ky8nOS4AZM-xtRi1nKx3O_t5y8HS89H1jryNpAPqe_GbXsm7cUNqFNnp_Be7pqVkksOblRaieJBzEDRZ9dcO-lcli-VNdpgA"},"user-agent":{"name":"user-agent","value":"ms-rest-azure-js/2.1.0 ms-rest-js/2.6.1 Node/v10.24.1 OS/(x64-Windows_NT-10.0.20348)"},"cookie":{"name":"Cookie","value":""}}},"withCredentials":false,"timeout":0},"status":400,"bodyAsText":"{\n "error": {\n "code": "BadRequest",\n "message": "Resource cannot be updated during provisioning",\n "target": "Loading_Completed_MAC_Blob_Distributor",\n "details": null\n }\n}","redirected":false,"url":"https://management.azure.com/subscriptions/fd43d2cb-5798-4c9b-bf5e-05006585d0cd/resourceGroups/GLOBAL-XSEG-SRM-DATA-FOUNDATION-PROD-RG/providers/Microsoft.DataFactory/factories/globalxsegsrmdatafoundationprodadfdist/triggers/Loading_Completed_MAC_Blob_Distributor/start?api-version=2018-06-01","parsedBody":{"error":{"code":"BadRequest","message":"Resource cannot be updated during provisioning","target":"Loading_Completed_MAC_Blob_Distributor","details":null}}}.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant