question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

401 Status Code When Getting Media

See original GitHub issue

Describe the bug For the past 2 days, calls to save images from my camera have been failing with a 401 status code.

This seems to have corresponded to me enabling Biometric Unlock support on my account, so I went ahead and removed it. Still getting 401s. Considering the implementation, I would not expect Biometric Unlock to have any bearing on the APIs, but that’s all I changed.

To Reproduce Steps to reproduce the behavior:

  1. [Enable Biometric Unlock then Disable Biometric Unlock?]
  2. Snap a photo from a camera
  3. Try to save the photo

Expected behavior Call to retrieve image returns a 200

blinkpy version: 0.16.4

Log Output/Additional Information

DEBUG    [03-12 16:10] [blinkpy.api] Making GET request to https://rest-u009.immedia-semi.com/media/u009/<omitted>.jpg
DEBUG    [03-12 16:10] [urllib3.connectionpool] https://rest-u009.immedia-semi.com:443 "GET /media/u009/<omitted>.jpg HTTP/1.1" 401 44
ERROR    [03-12 16:10] [blinkpy.camera] Cannot write image to file, response 401

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:13 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
fronzbotcommented, Mar 13, 2021

Nope that’s the latest. Probably yet another api change we’ll have to track down. I’ll look into it!

0reactions
atcapollocommented, Mar 21, 2021

Blink XT2 firmware 7.98

Let me know if there are any logs I can pull which may shed light on the issue.

I am no longer receiving emails with the 2FA pins after providing the pin at setup.

Previously when then cameras were working with Hass i received an email everyday with a new 2FA pin but I never entered it, due to the time expiry but they still worked.

On Sun, 21 Mar 2021, 12:00 Kevin Fronczak, @.***> wrote:

Anyone that had the issue, even if it’s fixed now, can you let me know what type of camera was exhibiting the issue? Kickstarter model, XT, XT2, mini, etc?

Thanks in advance!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/fronzbot/blinkpy/issues/449#issuecomment-803564618, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABUCYRRFZFJ55NN6BKLIIYTTEXNURANCNFSM4ZDFXENQ .

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Quickly Fix the 401 Unauthorized Error (5 Methods)
The 401 (Unauthorized) status code indicates that the request has not been applied because it lacks valid authentication credentials for the ...
Read more >
401 Error: 5 Ways to Troubleshoot and Fix It - Hostinger
The 401 Unauthorized error is triggered by unauthenticated requests made to a WordPress web server. Learn how to identify and fix the issue....
Read more >
401 Unauthorized - HTTP Status Code Glossary - WebFX
HTTP Status Code 401: The request has not been applied because it lacks valid authentication credentials for the target resource.
Read more >
HTTP Status Code 401: What Is the 401 "Unauthorized" Error?
Status code 401 - the "unauthorized" error, is a client-side error. Usually, this means the user's login credentials aren't working. The user entered...
Read more >
A Useful Guide to Diagnosing and Solving the 401 Error
“401 unauthorized error (unauthorized error) shows that the request from the server didn't get clearance or verification.” Let us take you through the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found