0

I am testing Azure services using a free subscription account and I want to build a logic app with an ethereum connector and I followed this tutorial by Microsoft: https://www.youtube.com/watch?v=DlctS7Vk88M. I was able to build my own consortium, member and transaction node using Azure Blockchain service, I was able to deploy my smart contract on the blockchain using visual Studio code. From my contract I generated microservices from smart contract and copied the generated json code in the Logic App Code Viewer. I am using a simple HelloBlockchain smart contract and trying to call the function "SendRequest" in my logic app. I defined the right connection parameters (RPC, member account, etc). However I have two issues:

  • On the logic app designer I get this following error: Error executing the api '/contractSchema/functions/SendRequest/metadata'. Client request id: 'undefined'
  • And what is strange is that in the app designer I should get a field called "newValue" right under "Smart contract function name" (as shown in the video at this time https://youtu.be/DlctS7Vk88M?t=2016) where I can pass the input parameter to my SendRequest function, but I only see the field with the function name but not the parameter name.
  • And finally if I try to run the logic app (with a click on the "Run" button or with an actual REST call from my Visual Studio Code), I get the error: "BadRequest" The in the body the following details:
"status": 400,
"message": "The given ABI could not be parsed as a valid ABI\r\nclientRequestId: ....",
"error": {
  "message": "The given ABI could not be parsed as a valid ABI"
},
"source": "blockchainethereum-eus.azconn-eus-01.p.azurewebsites.net" 

I checked several times, the ABI is the right one copied from the Smart Contract, the connection parameters are valid (tried using a private key and then using the member account and address). Could you please help us with this issue? Is it related to the fact that the ethereum connector on Azure is deprecated?

Thank you in advance,

faten
  • 9
  • 1

0 Answers0