Hi there,
I built and maintain ringofkeys.org, which uses Dato and Auth0 to allow our members to edit their profiles, which are simple Dato entries. Itās worked very reliably for going on 3 years now across a Gatsby and now NextJS frontend, so first off thank you for building this platform!
Recently my users have been unable to edit profiles, and my Netlify function for updating their profile fields returns the following error response:
{
message: "Required attribute: contentInLocales"
}
I havenāt been able to find any reference to a contentInLocales
attribute anywhere in the documentation, so Iām unsure where or how to add this attribute to my payload. Is this is a per-field sort of localization attribute?
Here are my JS client versions:
I also just retried after updating them to 2.0.0
, but I didnāt expect it to change anything and it didnāt.
To make my updates to the profile entries, within the updateKey
Netlify function (source code here, sorry I havenāt gotten to migrate it to TS yet), simply passing the new payload from their edited profile field into the client.item.update()
function.
This has worked well for a long time, so Iām uncertain what could have changed? We have just one default locale, en
, so I donāt know what localization constraint is being imposed here.