Getting error while appending identifer to instrument using Http Request

franklobo
franklobo Newcomer

Hi,

When I try to append identifiers through http request, Im getting below error:

{'error': {'message': 'Invalid request parameter Identifiers'}}

Im using below code:

OrderedDict([('Identifiers',OrderedDict([('Identifier','US8180971074'),('IdentifierType','Isin')])),('KeepDuplicates',True)]);

Can anyone help?

Best Answer

  • The value of "Identifiers" needs to be JSON array. Please verify if your HTTP request.

    Below is the sample of format. If the value is not JSON array, I get the same error.

    {
    "Identifiers": [
    {
    "Identifier": "US8180971074",
    "IdentifierType": "Isin"
    }
    ],
    "KeepDuplicates": true
    }

Answers