Invalid value "REJECTED" for field status in type DataLoadUploadLog

#1

I’m seeing the following error when I try to fetch DataLoadUploadLog, i.e. DataLoadUploadLog.fetch():

Error: Invalid value "REJECTED" for field status in type DataLoadUploadLog. Can only be one of [PROCESSING, SUCCESS, FAILED].
    at new C3.client.ActionError (https://tenant.c3iot.com/typesys/1/all.js?env=browser&compat:1129:13)
    at Object.request (https://tenant.c3iot.com/typesys/1/all.js?env=browser&compat:881:15)
    at Object.call (https://tenant.c3iot.com/typesys/1/all.js?env=browser&compat:566:27)
    at c3Call (https://tenant.c3iot.com/typesys/1/all.js?env=browser&compat:99:20)
    at Object._call (https://tenant.c3iot.com/typesys/1/all.js?env=browser&compat:2563:20)
    at Object.eval (eval at get (https://tenant.c3iot.com/typesys/1/all.js?env=browser&compat:2961:20), <anonymous>:5:15)
    at <anonymous>:1:26"

The server package is c3-server-7.6.1.147-1.x86_64.rpm

What it’s the workaround to be able to see the entries in the data load queue?

0 Likes

#2

this could well be a bug. You can try

DataLoadUploadLog.fetch({include: "<the fields you actually want to see except status>", filter: "status != 'REJECTED'"}); 
0 Likes

#3

it works with the filter!

0 Likes