Giter Club home page Giter Club logo

Comments (8)

zunhu avatar zunhu commented on June 8, 2024 1

it is known issue. we are in investigating.

from azure-iot-developer-kit.

xinyiz1226 avatar xinyiz1226 commented on June 8, 2024 1

@michhar , this issue in under our radar. We will let you know when the issue is fixed.

from azure-iot-developer-kit.

JerryYangKai avatar JerryYangKai commented on June 8, 2024 1

Hi, we have released workbench 0.10.15 and fixed the bug. You can create a new sample project and check it.

from azure-iot-developer-kit.

michhar avatar michhar commented on June 8, 2024

@zunhu Are there, by chance, any updates on this sample issue? Thanks.

from azure-iot-developer-kit.

DevScienceScope avatar DevScienceScope commented on June 8, 2024

I had this example previosuly working and tried to get it working again and i have encountered the same error.

I am getting the same error. I follwed the error back to HttpTriggerTranslator function and tried to output the status code and status message. to see what was happening as the Azure functions wasnt returning anything. I get the following output

`Azure Function return value: -1

Error happened when translating: Azure Function failed

536900604

1��I1��91��51��11��-1��)1��%1��!1���1���1���1���1��

1�� 1���B���B���B���B���C��!C��

�`

`static int HttpTriggerTranslator(const char *content, int length)

{

if (content == NULL || length <= 0 || length > MAX_UPLOAD_SIZE)

{

Serial.println("Content not valid");

return -1;

}

sprintf(azureFunctionUri, "%s&&source=%s", (char *)AZURE_FUNCTION_URL, allLocalNames[currentLanguage]);

HTTPClient client = HTTPClient(HTTP_POST, azureFunctionUri);

client.set_header("source", allLocalNames[currentLanguage]);

const Http_Response *response = client.send(content, length);

if (response != NULL && response->status_code == 200)

{

return 0;

}

else

{

Serial.println(response->status_code);

Serial.println(response->status_message);

return -1;

}

}`

from azure-iot-developer-kit.

inessaid avatar inessaid commented on June 8, 2024

Are there any updates on this issue ?

from azure-iot-developer-kit.

jara5499550 avatar jara5499550 commented on June 8, 2024

Hi, I meet the same problem. So does anyone have good suggestions on this issue? Thannnnks!

from azure-iot-developer-kit.

jara5499550 avatar jara5499550 commented on June 8, 2024

Hi, we have released workbench 0.10.15 and fixed the bug. You can create a new sample project and check it.
Hi, I am new to explore the DevKitTranslator, and I encountered the same problem. I do have the very latest workbench version. But the problem is still, is there any suggestions on this issue? Thannnnnks a lot!

from azure-iot-developer-kit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.