As of April 12th, you must go to Progress SupportLink to create new support cases or to access existing cases. Please, bookmark the SupportLink URL and use the new portal to contact the support team.
Note: "logo" is the column name used to reference to the file. I can get this entity without errors if I use AsyncAppData instead of AsyncLinkedData. But my model class extends LinkedGenericJson as stated in the guides. I need to download the file associated with this entity. The datastore indicates that the entity correctly referenced to the file.
What am I doing wrong?
I can post any other info that is needed to troubleshoot. Any help is much appreciated, thanks.
Never mind, I needed to set access control to all users when uploading. I can do this by setting the metadata when saving a file, but how do I do it when saving an entity? I can't find any documentation on saving file metadata when uploading an entity.
C
Caroline
said
over 9 years ago
Hi Janaka,
This should help: http://devcenter.kinvey.com/android/guides/security
It sounds like your collection-level permissions weren't set to what you needed. Let me know if that helps.
Janaka Jayasuriya
AsyncLinkedData collection = mKinveyClient.linkedData("collection", SomeLinkedGenericJsonClass.class);
collection.getEntity("some_valid_id", new KinveyClientCallback() { ...});
I get the following error:
The credentials used to authenticate this request are not authorized to run this operation. Please retry your request with appropriate credentials.
However just before this error I get:
Kinvey - LR, linked resource instance found
Kinvey - LR, linked resource found, file count at: 1
Kinvey - LR, getting a LinkedGenericJson: logo
Note: "logo" is the column name used to reference to the file. I can get this entity without errors if I use AsyncAppData instead of AsyncLinkedData. But my model class extends LinkedGenericJson as stated in the guides. I need to download the file associated with this entity. The datastore indicates that the entity correctly referenced to the file.
What am I doing wrong?
I can post any other info that is needed to troubleshoot. Any help is much appreciated, thanks.