Backend changed the response format without frontend being updated.
// Buggy Code (expecting old API structure)
const response = await fetch('/api/user');
const data = await response.json();
console.log(data.data.user.profile.name);
// TypeError: Cannot read properties of undefined (reading 'user')
// Backend changed response from:
// { data: { user: { profile: { name: 'John' } } } }
// To:
// { result: { userInfo: { displayName: 'John' } } }