Fix raw ApiError raises by providing a default message