Do I need a logged in user to make database api calls

I get this error when making a REST call to get data from a table:
code":2002,“message”:"Version is disabled or provided wrong application info (application id or secret key)
DO I need a user to be logged in? If so, why? I just want my web game to send and retrieve a single variable from a Backendless database without a user being logged in. (Nothing more. I don’t need the whole user login stuff). Surely this is possible right.
Please help!
BTW my application key and secret key are both fine. :slight_smile: This is not the issue.
My php:

<?php [code] // Get cURL resource $curl = curl_init(); // Set some options - we are passing in a useragent too here curl_setopt_array($curl, array( 'application-id: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', 'secret-key: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', 'application-type: REST', CURLOPT_RETURNTRANSFER => 1, CURLOPT_URL => 'https://api.backendless.com/v1/data/Prize_Pots', CURLOPT_USERAGENT => 'Codular Sample cURL Request' )); // Send the request & save response to $resp $resp = curl_exec($curl); echo ''.$resp; // Close request to clear up some resources curl_close($curl); ?>

[/code]

Hi Simon,

Probably you’re using methods for Backendless 3 while having an app in Backendless 4. This page has links to the newer version 4 docs.

You are a star! Thank you!