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

Duplicate entry Error code 1062 #403

Closed
Fibril-vested opened this issue Dec 17, 2023 · 3 comments
Closed

Duplicate entry Error code 1062 #403

Fibril-vested opened this issue Dec 17, 2023 · 3 comments
Labels
Analyze Related to the analyze tab.

Comments

@Fibril-vested
Copy link

Fibril-vested commented Dec 17, 2023

beestat Analyze and compare tabs fail with following error code. May need some additional sanity checking around line 653 in api/runtime.php

API call failed: Duplicate entry 'xxxxx-xxxxx-2023-12-16' for key 'profile.user_id_thermostat_id_date'

Sorry about that! This error has been logged and will be investigated and appropriately punished. Please reach out to contact@beestat.io if it persists.

{
"success": false,
"data": {
"error_message": "Duplicate entry 'xxxxx-xxxxx-2023-12-16' for key 'profile.user_id_thermostat_id_date'",
"error_code": 1062
}
}

@Fibril-vested
Copy link
Author

Issue goes away next calendar day.

@ziebelje ziebelje reopened this Jan 15, 2024
@ziebelje
Copy link
Member

ziebelje commented Jan 15, 2024

This issue has been increasing in frequency lately. It appears to always resolve itself, but needs more investigation. Another user said this:

Marked and then unmarked the ignore solar gain, which caused the temperature profile to regenerate, instantly fixed it on both online and self hosted versions

@ziebelje ziebelje added the Analyze Related to the analyze tab. label Jan 15, 2024
@ziebelje
Copy link
Member

Another user:

I was fiddling with the app when I changed the date for data gathering in the settings and the app gave me an error and now I can’t see stats as it’s saying there is a duplicate profile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Analyze Related to the analyze tab.
Projects
None yet
Development

No branches or pull requests

2 participants