Hi Team,
Following the recent platform update, we noticed that the entity creation response in the local environment only returns the name of the entity. Additionally, when we attempt to use methods like get
or getAll
, errors are thrown.
As a result, we are unable to test our app locally.
Could you please confirm if this is the expected behavior for entities, or if it might be an issue in our code?
Thank you,
Annalakshmi
Hi @Annalakshmi_Manivasa,
Greetings!
Could you please share your entity file, the code used to retrieve the data, and your FDK version? I have tested this setup and did not encounter the issue you mentioned.
Looking forward to your response!
Best regards,
Benny
1 Like
Hi,
Can you please share the error you are facing here ? Also, if possible you can delete the ‘.fdk’ in the app directory and try out once please!
Hi @Bene_Immanuel ,@Chandiramouli_Ramach,
we have deleted ‘.fdk’ file then run localy but same issue is occur.
we have tried locally fdk run, platform version : “3.0” , fdk version : “9.3.0”
const entity = $db.entity({ version: “v1” });
const AuomergerPayload = entity.get(“rulePloadDB”);
consloe.log(AuomergerPayload );
Response : V1Entity { name: ‘rulePloadDB’ }
const Auomergerdb = await AuomergerPayload.getAll({});
// console.log(“Auomergerdb!..”,Auomergerdb.records.length);
Response : { message: ‘entity not found’, status: 404, errorSource: ‘APP’ }
Hi @Annalakshmi_Manivasa,
Thank you for sharing the code, could you please share the entity file?
So that I can replicate this to figure out the problem.
Thank you.
Hi @Annalakshmi_Manivasa,
A quick follow-up question, could you please let us know the plan you are in?
Cause this Entity DB is supported in the Enterprise plan alone…

For your reference:
const $entity = $db.entity({ version: "v1" });
const article = $entity.get("articles");
try {
let data = await article.getAll({
})
console.log(data.records)
// await article.delete("artic-1")
} catch (error) {
console.log("error")
console.log(error)
}
{
"articles": {
"fields": [
{
"name": "id",
"label": "article Id",
"type": "integer",
"required": true
}
]
}
}
This thing works for me! Even after deleting all the records it returns an empty array, so the issue must be with the config or plan.
Thank you.
1 Like
Hi all,
After upgrading the platform to version 3.0, we are unable to test the app in the local environment.
- Entity. JSON: {
“rulePloadDB_3”:{
“fields”: [
{“name”:“name”,
“label”: “name”,
“type”:“text”,
“required”: true
},
{“name”:“summary”,
“label”: “summary”,
“type”:“paragraph”,
“required”: true
},
{“name”:“active”,
“label”: “active”,
“type”:“boolean”,
“required”: true
}
]
}
}
const $entity = $db.entity({ version: “v1” });
const Entity = $entity.get(“rulePloadDB_3”);
console.log("Entity…> ",Entity);
Response :
Entity…> V1Entity { name: ‘rulePloadDB_3’ }
args.data.name minutes
Error: { message: ‘entity not found’, status: 404, errorSource: ‘APP’ }
- Updating a record with more than 7 fields:
const updatedRecord = await $entity.get(“rulePloadDB_3”).update(displayid, {
name: ‘test automation gfgffgfg’,
summary: “fjfjfdjfjkdjfkdffdf ghghghg”,
active : “true”,
automation_type_id:‘1’,
position:“45”,
outdated:“false”,
last_updated_by:“454545445”,
id:“445”,
created_at:“445-4545”,
updated_at:“4454545-44”,
affected_tickets_count:‘0’,
conditions:“trtrtrtrtgg”,
actions: “gfgfgfg”
});
console.log(“Updated Record:”, updatedRecord);
Response:
error {
status: 404,
message: ‘Resource not found’,
}