Check for "internal error" when fetching styles from server.

Change-Id: Ic2179e81fef573f896357726adc56efbe5196de3