Bug Fixes
- Fixed token refresh detection for error 5032: Enhanced automatic token refresh to properly detect API error 5032 (Token validation failed). The previous implementation only caught "authentication", "401", or "unauthorized" errors, but missed the specific error code 5032 that the Pecron API returns when tokens expire. Now also checks for "5032" and "token" keywords in error messages, ensuring expired tokens are automatically refreshed.
Changes
- Updated token refresh error detection in coordinator
- Improved error handling for token expiration scenarios
This release ensures more reliable automatic token refresh when the Pecron API returns token validation errors.