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.

Problem with region (solved) - Also posted some json info you might like - Sonoff 4CH PRO R2

See original GitHub issue

Here’s the error:

Traceback (most recent call last):
  File "sonoff-debug.py", line 57, in <module>
    headers.update({'Authorization' : 'Bearer ' + user_details['at']})
KeyError: 'at'

Would appreciate your help. Thanks.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
peterbugacommented, Nov 30, 2018

I just realised I didn’t commit the last version of the script >.< (that’s what I get for coding at midnight). Also I completely forgot about the regions redirection, my bad!

I will also add auto-obfuscation of sensitive data 👍 thanks for sharing!

0reactions
peterbugacommented, Dec 1, 2018

solved.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot pair anymore my 4ch pro r2 - Google Groups
Hi All, I can not pair anymore my 4ch pro r2. When I turn it on, the wifi led flashes very fast for...
Read more >
Sonoff 4CH PRO R2 string? · Issue #520 - GitHub
The problem of initial inching on boot devices seems solved. WiFi after JSON setting is ok. For me 0.3.3 is stable !!
Read more >
Sonoff 4CH Pro strange behavior - Home Assistant Community
Hi all, I've been facing a really weird behavior with the Sonoff 4CH Pro, both R2 and not. I've been using one single...
Read more >
[SOLVED] Sonoff 4ch pro R2 random switching - Let's Control It
The problem I encounter is that some relays toggle unintended. Is this a known issue? Laatst gewijzigd door BertB op 21 Sep 2019,...
Read more >
SONOFF BASICR2 Vs BASICR3: DIY Mode and More Features
We will present you the RF performance data tested in SONOFF laboratory with the comparison of BASICR3, BASICR2 and another similar product from ......
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