06-08-22 01:12 PM
Dear Team,
im trying to import in vain Microsoft Graph - Teams API v1.2.bprelease in my BP 6.5.0.12573.
i have the error message below:
"An error occurred while attempting to import the release:
Value cannot be null.
Parameter name: type"
Can someone help me import it properly please?
Answered! Go to Answer.
06-08-22 01:31 PM
@Kouadio ANDOKOU,
I believe this has to do with a Data Item of type Password defined in the .bprelease file. If you open the file, in any text editor, and search for initialvalue you should see something like below:
<actionparameter name="Access Token" expose="true" datatype="32">
<initialvalue><![CDATA[aCpGKl8qTyp6KlgqQypZKkcqBCppKkUqRypHKkUqRCoEKnkqTypJKl8qWCpDKl4qUyoEKnkqQypHKloqRipPKmUqSCpMKl8qWSpJKksqXipFKlgq:]]></initialvalue>
<description><![CDATA[Access Token]]></description>
</actionparameter>
Notice the element titled <initialvalue>…</initialvalue>. You want to change its value to:
<initialvalue><![CDATA[aCpGKl8qTyp6KlgqQypZKkcqBCppKkUqWCpPKgQqeSpPKkkqXypYKk8qBCp5KkMqRypaKkYqTyplKkgqTCpfKlkqSSpLKl4qRSpYKg==:]]></initialvalue>
The reason for this is the underlying encryption algorithm used by BP changed in v6.6 I believe. So v6.5 doesn't understand the encrypted value of the element since the connector was created in a later version.
Cheers,
------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------
06-08-22 01:31 PM
@Kouadio ANDOKOU,
I believe this has to do with a Data Item of type Password defined in the .bprelease file. If you open the file, in any text editor, and search for initialvalue you should see something like below:
<actionparameter name="Access Token" expose="true" datatype="32">
<initialvalue><![CDATA[aCpGKl8qTyp6KlgqQypZKkcqBCppKkUqRypHKkUqRCoEKnkqTypJKl8qWCpDKl4qUyoEKnkqQypHKloqRipPKmUqSCpMKl8qWSpJKksqXipFKlgq:]]></initialvalue>
<description><![CDATA[Access Token]]></description>
</actionparameter>
Notice the element titled <initialvalue>…</initialvalue>. You want to change its value to:
<initialvalue><![CDATA[aCpGKl8qTyp6KlgqQypZKkcqBCppKkUqWCpPKgQqeSpPKkkqXypYKk8qBCp5KkMqRypaKkYqTyplKkgqTCpfKlkqSSpLKl4qRSpYKg==:]]></initialvalue>
The reason for this is the underlying encryption algorithm used by BP changed in v6.6 I believe. So v6.5 doesn't understand the encrypted value of the element since the connector was created in a later version.
Cheers,
------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------
06-08-22 02:23 PM