Failed rule "s.match is not a function"

Hi, I am trying to set the value of a select field to the option “Internal” with

await fibery.updateEntity(entity.type, entity.id, {
        'Last Update' : { 'Id': '...id...', 'Name': 'Internal' }
    });

and I am getting the error

Failed to execute Action "Script": s.match is not a function

setting the Name fields just works… what can it be?
thank you very much

Giuse

To be clear, you’re trying to update the value of a single-select field (called ‘Last update’) to be ‘Internal’, which is an existing option for that field, is that right?

If so, then you just need to do this:

    await fibery.updateEntity(entity.type, entity.id, {
        'Last update': 'Internal'
    });