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

Unhandled exception. Microsoft.Azure.Devices.Client.Exceptions.IotHubException: Request 817bda7c-6fc4-40e0-8946-93eb851fcb12 returned status 403 [Bug Report] #3433

Closed
addy1997 opened this issue Feb 21, 2024 · 7 comments
Labels
bug Something isn't working.

Comments

@addy1997
Copy link

Context

  • OS: Ubuntu 16.04 LTS
  • .NET version: 6.0
  • Device: Laptop

Description of the issue

ON running dotnet run, I get this error (see the screenshot below)
image

I'll be thankful for any guidance.

@addy1997 addy1997 added the bug Something isn't working. label Feb 21, 2024
@timtay-microsoft
Copy link
Member

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?

@timtay-microsoft
Copy link
Member

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.

@addy1997
Copy link
Author

addy1997 commented Feb 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.

@timtay-microsoft
Copy link
Member

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

@addy1997
Copy link
Author

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.

@timtay-microsoft
Copy link
Member

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

@addy1997
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working.
Projects
None yet
Development

No branches or pull requests

2 participants