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

HttpClient errorToSTring does not return values for 401 / HTTP_CODE_UNAUTHORIZED #10550

Open
1 task done
CybDis opened this issue Nov 1, 2024 · 1 comment
Open
1 task done
Labels
Status: Awaiting triage Issue is waiting for triage

Comments

@CybDis
Copy link

CybDis commented Nov 1, 2024

Board

Arduino-esp32

Device Description

x

Hardware Configuration

x

Version

v3.0.6

IDE Name

PlatformIO

Operating System

Windows 11

Flash frequency

x

PSRAM enabled

yes

Upload speed

x

Description

The HttpClient class does not return string for HTTP_CODE_UNAUTHORIZED - 401

Sketch

Serial.println(http.errorToString(httpCode)); // httpCode = 401

Debug Message

x

Other Steps to Reproduce

x

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.
@CybDis CybDis added the Status: Awaiting triage Issue is waiting for triage label Nov 1, 2024
@me-no-dev
Copy link
Member

It is meant for internal errors, not for HTTP ones. Like why connection to the server failed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Awaiting triage Issue is waiting for triage
Projects
None yet
Development

No branches or pull requests

2 participants