Skip to content
CCPEDIAby Unity Nodes
Discussions/App Development/Unrecognized daml version '1.6' (expected 1.2)Forum ↗

Unrecognized daml version '1.6' (expected 1.2)

App Development2 posts403 views3 likesLast activity Nov 2020
GU
GuisongFuOP
Oct 2020

Hi,
I installed and activated the latest version 1.6.0
image
And the daml.yaml file did specify 1.6.0 as sdk-version
image
However, it complains Unrecognized daml version ‘1.6’ (expected 1.2)
image
And daml build will fail as well.
image
Could you please guide me how I can fix this?
Thanks!
/Guisong

ST
stefanobaghino-da
Nov 2020

:wave: @GuisongFu and welcome to the DAML forum.

The daml <version> header is legacy syntax which is currently not used and exists only for backwards compatibility. Furthermore, it doesn’t have to match the SDK version you are using. Supported versions IIRC are 1.0 and 1.1, but they bear a different meaning than the SDK version you are using.

It’s not necessary to go into details about it, because the safe thing to do is simply to drop the header entirely. :wink:

← Back to Discussions