You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I was able to get the add entry with nodejs API work. I get a successful response but the issue is the values passed in the fields for the content type are not getting populated.
If you notice in the API response the field object is empty. Can anyone point me in the right direction?
Hi,
I was able to get the add entry with nodejs API work. I get a successful response but the issue is the values passed in the fields for the content type are not getting populated.
If you notice in the API response the field object is empty. Can anyone point me in the right direction?
The function to create entry:
Response from API:
{ "sys": { "space": { "sys": { "type": "Link", "linkType": "Space", "id": "HIDDEN" } }, "id": "3xGT79qHgMTuOjc6i8cgGV", "type": "Entry", "createdAt": "2020-04-02T19:51:01.267Z", "updatedAt": "2020-04-02T19:51:01.267Z", "environment": { "sys": { "id": "master", "type": "Link", "linkType": "Environment" } }, "createdBy": { "sys": { "type": "Link", "linkType": "User", "id": "HIDDEN" } }, "updatedBy": { "sys": { "type": "Link", "linkType": "User", "id": "HIDDEN" } }, "publishedCounter": 0, "version": 1, "contentType": { "sys": { "type": "Link", "linkType": "ContentType", "id": "forms" } } }, "fields": {} }
The text was updated successfully, but these errors were encountered: