API stopped querying by metadata

Same here.
Two days ago the api was working correctly. Now I can’t fetch uid from app_metadata. Tried a work around to save uid in user_metadata but still not working.

Can anyone help us please?