Coder Social home page Coder Social logo

Unhandled exception. Microsoft.Azure.Devices.Client.Exceptions.IotHubException: Request 817bda7c-6fc4-40e0-8946-93eb851fcb12 returned status 403 [Bug Report] about azure-iot-sdk-csharp HOT 7 CLOSED

addy1997 avatar addy1997 commented on July 22, 2024
Unhandled exception. Microsoft.Azure.Devices.Client.Exceptions.IotHubException: Request 817bda7c-6fc4-40e0-8946-93eb851fcb12 returned status 403 [Bug Report]

from azure-iot-sdk-csharp.

Comments (7)

timtay-microsoft avatar timtay-microsoft commented on July 22, 2024

Can you share what the sample code being run here is? And can you try using AMQP instead of MQTT to see if you get the same error?

from azure-iot-sdk-csharp.

timtay-microsoft avatar timtay-microsoft commented on July 22, 2024

Depending on your code, that 403 may be a 403002 which just means you can't send more telemetry today unless you upgrade your Hub to handle more messages per day or it may be 403006 which means you have too many file uploads happening simultaneously.

from azure-iot-sdk-csharp.

addy1997 avatar addy1997 commented on July 22, 2024

Hi @timtay-microsoft ,

Thanks for replying.

after getting into the directory, when I run dotnet run. It shows this error on Ubuntun but not on Windows.

from azure-iot-sdk-csharp.

timtay-microsoft avatar timtay-microsoft commented on July 22, 2024

Do you see this 403 error consistently? Or just sometimes?

from azure-iot-sdk-csharp.

addy1997 avatar addy1997 commented on July 22, 2024

Do you see this 403 error consistently? Or just sometimes?

Sometimes, but when I tried running it on Ubuntu yesterday, it didn't show up.

from azure-iot-sdk-csharp.

timtay-microsoft avatar timtay-microsoft commented on July 22, 2024

Can you check the Azure Portal to see if your IoT hub has been reaching its daily limit for messages allowed?

from azure-iot-sdk-csharp.

addy1997 avatar addy1997 commented on July 22, 2024

I am primarily sending these messages to the hub outside my subscription. My daily message quota shows 4,00,000 messages.

from azure-iot-sdk-csharp.

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.