This question is already asked here, but the answer selected does not work for Drupal8.
Description: There is a content-type, which has field, referencing taxonomy term. The term is in "Content class" dictionary. This term is used in views to filter the right content for the view. When a link in the view is clicked, it opens the node. This is OK. So, it is needed pathauto to generate /Content class term/Content_title_name when this node is opened.
What did not work:
[node:field_content_class:value]/[node:title]. This is not accepted, produces error:
Path pattern is using the following invalid tokens: [node:field_content_class:value]
The accepted (by Drupal) pattern:
[node:field_content_class]/[node:title] generates alias, containing only the [node:title] part. The first component is empty.
This is made to not create separate content-types for nodes with the same fields.
EDIT: The accepted answer works on a fresh copy of Drupal with language translation enabled. I continue to investigate the case with my production site.