I’m attempting to setup App Services and am just working though the demo. However, I’m having issues with the sync.
I followed the instructions at https://docs.couchbase.com/cloud/get-started/configuring-app-services.html but I’m simply getting not found errors.
When querying the app service by the api https://redacted.apps.cloud.couchbase.com:4984/travel-sample-appservice/
I get the payload:
{
"db_name": "travel-sample-appservice",
"update_seq": 31042,
"committed_update_seq": 31042,
"instance_start_time": 1726193336225077,
"compact_running": false,
"purge_seq": 0,
"disk_format_version": 0,
"state": "Online",
"server_uuid": "c3ca00295cbf4ddc87e0be4388093963"
}
But when trying to get a specific record as per the example: https://redacted.apps.cloud.couchbase.com:4984/travel-sample-appservice/airline_10 the response is:
{
"error": "not_found",
"reason": "keyspace travel-sample-appservice not found"
}
And I get a somewhat similar result when the application syncs, logging the error: “CouchbaseLiteException (WebSocketDomain / 404): Collection ‘airline’ is not found on the remote server.”
I’ve walked through the instructions multiple time and I don’t think I missed anything, but I still cannot sync or query any actual data. The sample data does exist and can query the data via the website. Any thoughts as to what I’m missing?
-Tim