API error should probably be debug