web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Microsoft Flow - From ...
Power Automate
Unanswered

Microsoft Flow - From Forms to Asana

(1) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,

 

I've created a flow to send informations, that I collect with Microsoft Forms to Asana.

Since this week, I always get the message "source not found".

My flow first creats an Asana task. That works fine. But when I want to add comments, I always get the message "404 - Source not found".

 
Input:
Host:
{
"api": {
},
"connection": {
"name": "/providers/Microsoft.PowerApps/apis/shared_asana/connections/shared-asana-120567aa-4ca2-4403-be22-b869985306ec"
}
}
 
Authentification:
{
"scheme": "Key",
"parameter": "*sanitized*",
"type": "Raw"
}
 
Body:
{
"data": {
"text": "Kunde wünscht \n[\"Angebot\"]"
}
}
 
Output
Statuscode:
404
 
Body:
{
"statusCode": 404,
"message": "Resource not found"
}
 
Can someone tell me, what I'm doing wrong?
 
Kind regards
 
Kai
Categories:
I have the same question (0)
  • v-bacao-msft Profile Picture
    Microsoft Employee on at

     

    Hi @Anonymous ,

     

    Flows fail if a setting in an action of the flow doesn't function as expected. In this case, the error message contains Bad request or Not found, or an error code of 400 or 404 appears.

    Please share the details of the Flow configuration so that we can analyze the issue.

     

    In addition, this error seems to be because the Asana task has just been created successfully or has not been completely created. If it adds comments directly, it may not be able to get the specified task, so this problem may occur.

    Please try adding a Delay action after the Create task and then performing the add comments operation.

     

    Best Regards,

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Helly Barry,

    does the json code help you to find a solution for this issue?

     

    {"$schema":"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#","contentVersion":"1.0.0.0","parameters":{"logicAppName":{"type":"String","metadata":{"description":"Name of the logic app."}},"logicAppLocation":{"defaultValue":"[resourceGroup().location]","allowedValues":["eastasia","southeastasia","centralus","eastus","eastus2","westus","northcentralus","southcentralus","northeurope","westeurope","japanwest","japaneast","brazilsouth","australiaeast","australiasoutheast","southindia","centralindia","westindia","canadacentral","canadaeast","westcentralus","westus2","[resourceGroup().location]"],"type":"String","metadata":{"description":"Location of the logic app."}},"microsoftforms_Connection_Name":{"defaultValue":"microsoftforms","type":"String","metadata":{"description":"Name of the connection."}},"asana_Connection_Name":{"defaultValue":"asana","type":"String","metadata":{"description":"Name of the connection."}}},"resources":[{"type":"Microsoft.Logic/workflows","name":"[parameters('logicAppName')]","apiVersion":"2016-06-01","location":"[parameters('logicAppLocation')]","properties":{"state":"Disabled","definition":{"$schema":"https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#","contentVersion":"1.0.0.0","parameters":{"$connections":{"defaultValue":{},"type":"Object"},"$authentication":{"defaultValue":{},"type":"SecureObject"}},"triggers":{"Bei_Übermitteln_einer_neuen_Antwort":{"metadata":{"flowSystemMetadata":{"swaggerOperationId":"CreateFormWebhook"}},"type":"ApiConnectionWebhook","inputs":{"host":{"connection":{"name":"@parameters('$connections')['microsoftforms']['connectionId']"}},"body":{"eventType":"responseAdded","notificationUrl":"@{listCallbackUrl()}","source":"ms-connector"},"path":"/formapi/api/forms/@{encodeURIComponent('ri-g4TqNVk6eSP-04s-iU5xsUitt4aNOof6HQXwd1NZURjNFNEU0UU8xTTEwTDVRQkZaRkNERlBZSS4u')}/webhooks","authentication":"@parameters('$authentication')"}}},"actions":{"Asana_Aufgabe_anlegen":{"foreach":"@triggerBody()?['value']","actions":{"Antwortdetails_abrufen":{"runAfter":{},"metadata":{"flowSystemMetadata":{"swaggerOperationId":"GetFormResponseById"}},"type":"ApiConnection","inputs":{"host":{"connection":{"name":"@parameters('$connections')['microsoftforms']['connectionId']"}},"method":"get","path":"/formapi/api/forms('@{encodeURIComponent('ri-g4TqNVk6eSP-04s-iU5xsUitt4aNOof6HQXwd1NZURjNFNEU0UU8xTTEwTDVRQkZaRkNERlBZSS4u')}')/responses","queries":{"response_id":"@items('Asana_Aufgabe_anlegen')?['resourceData']?['responseId']"},"authentication":"@parameters('$authentication')"}},"Aufgabe_erstellen":{"runAfter":{"Antwortdetails_abrufen":["Succeeded"]},"metadata":{"flowSystemMetadata":{"swaggerOperationId":"CreateTask"}},"type":"ApiConnection","inputs":{"host":{"connection":{"name":"@parameters('$connections')['asana']['connectionId']"}},"method":"post","body":{"data":{"name":"@{body('Antwortdetails_abrufen')?['r0211b7f5d8b442a3b43c9530e1ae0148']} - @{body('Antwortdetails_abrufen')?['r99091ca407e941b6be6e584d2423dd74']}","notes":"Ansprechpartner: @{body('Antwortdetails_abrufen')?['r8c4d8d78409b4b07bfd5b64428373f34']} @{body('Antwortdetails_abrufen')?['r6939062ffca94a40bf6a5f4da8f778fc']}\nRufnummer: @{body('Antwortdetails_abrufen')?['r3c12b0931a06404fae3d5f93c44655cb']}\nE-Mail: @{body('Antwortdetails_abrufen')?['rb9d9fafc005f406db9035c9d602bddb1']}","completed":false,"due_on":"@body('Antwortdetails_abrufen')?['rf89770588b394cfaaff80ec39f1330d1']"}},"path":"/tasks","queries":{"workspace":"547106431276530","projects":"1124776617522105"},"authentication":"@parameters('$authentication')"}},"Kommentar_hinzufügen":{"runAfter":{"Aufgabe_erstellen":["Succeeded"]},"metadata":{"flowSystemMetadata":{"swaggerOperationId":"AddComment"}},"type":"ApiConnection","inputs":{"host":{"connection":{"name":"@parameters('$connections')['asana']['connectionId']"}},"method":"post","body":{"data":{"text":"@body('Antwortdetails_abrufen')?['r7e97bec89b614a6fb00e5a1df0c20e8e']"}},"path":"/tasks/@{encodeURIComponent(body('Aufgabe_erstellen')?['id'])}/stories","authentication":"@parameters('$authentication')"}},"Kommentar_hinzufügen_2":{"runAfter":{"Kommentar_hinzufügen":["Succeeded"]},"metadata":{"flowSystemMetadata":{"swaggerOperationId":"AddComment"}},"type":"ApiConnection","inputs":{"host":{"connection":{"name":"@parameters('$connections')['asana']['connectionId']"}},"method":"post","body":{"data":{"text":"@body('Antwortdetails_abrufen')?['re04f47cb6d26401e8b338414b0a5ce94']"}},"path":"/tasks/@{encodeURIComponent(body('Kommentar_hinzufügen')?['data']?['target']?['id'])}/stories","authentication":"@parameters('$authentication')"}}},"runAfter":{},"type":"Foreach"}},"outputs":{},"description":"Microsoft Flow der die Erfassung der Daten für eine Kundenanfrage aus Microsoft Forms in eine Asana Aufgabe anlegt und gleichzeitig einen SharePoint Listeneintrag erzeugt.\nAußerdem erfolgt eine Benachrichtigung an einen oder mehrere E-Mail Empfänger und eine Teams Benachrichtigung."},"parameters":{"$connections":{"value":{"microsoftforms":{"id":"[concat('/subscriptions/', subscription().subscriptionId, '/providers/Microsoft.Web/locations/', parameters('logicAppLocation'), '/managedApis/', 'microsoftforms')]","connectionId":"[resourceId('Microsoft.Web/connections', parameters('microsoftforms_Connection_Name'))]","connectionName":"[parameters('microsoftforms_Connection_Name')]"},"asana":{"id":"[concat('/subscriptions/', subscription().subscriptionId, '/providers/Microsoft.Web/locations/', parameters('logicAppLocation'), '/managedApis/', 'asana')]","connectionId":"[resourceId('Microsoft.Web/connections', parameters('asana_Connection_Name'))]","connectionName":"[parameters('asana_Connection_Name')]"}}}},"runtimeConfiguration":{"lifetime":{"unit":"Day","count":30},"collections":{"maximumItemCount":5000},"performanceProfile":{"throttles":{"mode":"Low"}}}},"dependsOn":["[resourceId('Microsoft.Web/connections', parameters('microsoftforms_Connection_Name'))]","[resourceId('Microsoft.Web/connections', parameters('asana_Connection_Name'))]"]},{"type":"Microsoft.Web/connections","name":"[parameters('microsoftforms_Connection_Name')]","apiVersion":"2016-06-01","location":"[parameters('logicAppLocation')]","properties":{"api":{"id":"[concat('/subscriptions/', subscription().subscriptionId, '/providers/Microsoft.Web/locations/', parameters('logicAppLocation'), '/managedApis/', 'microsoftforms')]"},"displayName":"[parameters('microsoftforms_Connection_Name')]"}},{"type":"Microsoft.Web/connections","name":"[parameters('asana_Connection_Name')]","apiVersion":"2016-06-01","location":"[parameters('logicAppLocation')]","properties":{"api":{"id":"[concat('/subscriptions/', subscription().subscriptionId, '/providers/Microsoft.Web/locations/', parameters('logicAppLocation'), '/managedApis/', 'asana')]"},"displayName":"[parameters('asana_Connection_Name')]"}}]}

    Best regards

    Kai

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 250 Super User 2026 Season 1

#2
Expiscornovus Profile Picture

Expiscornovus 222 Most Valuable Professional

#3
Haque Profile Picture

Haque 174

Last 30 days Overall leaderboard