Page 1 of 1

Updating database and listing from database

Posted: Tue May 17, 2016 12:51 pm
by Chris Flowers

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!


Updating database and listing from database

Posted: Tue May 17, 2016 2:24 pm
by Serhii Kulibaba

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?


Updating database and listing from database

Posted: Wed May 18, 2016 1:24 pm
by Chris Flowers

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!


Updating database and listing from database

Posted: Wed May 18, 2016 3:16 pm
by Serhii Kulibaba

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.