Skip to content

JavaScript function app using table storage output his int64 issue #614

Open
@paulbatum

Description

@paulbatum

Create a javascript V2 function app with a table storage output and the following code:

module.exports = async function (context, myTimer) {
    const rowLOG = {
    'partitionKey': '123',
    'rowKey': '456',
    'CmdAction': 5000000000 // hex such as 0x0140040000 would also repro
    }

    context.bindings.outputTable = [rowLOG];
};

You'll get the following error:
Executed 'Functions.TimerTrigger1' (Failed, Id=9a52e4e2-65b8-4384-b627-7f5769942620)
Value was either too large or too small for an Int32.

Not sure whether this is straightforward to address of there is a limitation with table storage here.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions