Hello,
I built my environment using AWS RDS as External DB and AppRunner as Adapter with reference to the following URL.
URL: https://support.wix.com/en/article/velo-integrate-your-aws-rds-database-with-your-wix-site
- Create the following external collections
Namespace:wix-velo-externl-db - Successfully accessed external DB (AWS RDS)
- Tried to retrieve data from [contacts] table
<dataFunctions.jsw (Backend Web Module)>
import wixData from 'wix-data';
export function getPerson(itemId) {
wixData.get('contacs', itemId)
.then((result) => {
console.log(result);
})
.catch((err) => {
console.log(err);
})
}
<Home (Frontend)>
import { getPerson } from 'backend/dataFunctions';
let itemId = '3c869432-cd1b-4a24-a083-0e4b4108ecda';
getPerson(itemId);
4.The following error is displayed
WDE0025: The contacts collection does not exist. You cannot work with a collection using the Data API before it is created in the Editor.
Do you have a different way of accessing the external DB?
Thanks,
Won