Chris Flowers
Posts: 0
Joined: Wed Mar 26, 2014 9:17 pm

Updating database and listing from database

Hi there!

I've got a simple app which has input fields:

Username
Date
Registration
Mileage
Location

I have a database called 'VehicleLog' and a collection called 'Logs'. I've created columns in that collection as the above.

I followed the warehouse database app tutorial and at one point, it was working updating the one 'Mileage' field. Since adding further fields it no longer updates. If I run a test on the service is comes back with a 403 error about 'Secure collection with session token' enabled but sessionToken is absent or invalid.

Help!

Many thanks!

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Updating database and listing from database

Hello Chris,

Please clarify, did you enable secure checkbox for that collection? https://devcenter.appery.io/documenta...
Do you send sessionToken in each database request?

Chris Flowers
Posts: 0
Joined: Wed Mar 26, 2014 9:17 pm

Updating database and listing from database

Hello

Yes I've enabled secure collection checkbox for the collection. This is how my database is setup:

Image

With regards sessionToken I have it setup:

Image

I'm sure I have something wrong somewhere I just don't know what!

Thanks!

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Updating database and listing from database

Did you enable secure on that collection? Image
Please provide us with a public app link (https://devcenter.appery.io/documenta...) and exact steps to reproduce this problem.

Return to “Issues”