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.
Error Domain=KCSResourceErrorDomain Code=401 "Error Deleting file, id='577c08aa-c3a5-4d85-80c0-12a4a5b79419'" UserInfo={NSUnderlyingError=0x15d08a80 {Error Domain=KCSServerErrorDomain Code=401 "The credentials used to authenticate this request are not authorized to run this operation. Please retry your request with appropriate credentials" UserInfo={Kinvey.kinveyErrorCode=InsufficientCredentials, NSLocalizedFailureReason=, NSLocalizedDescription=The credentials used to authenticate this request are not authorized to run this operation. Please retry your request with appropriate credentials, KinveyKit.HTTPMethod=DELETE, NSErrorFailingURLKey=https://baas.kinvey.com/blob/kid_bkctkcwMmW/577c08aa-c3a5-4d85-80c0-12a4a5b79419, Kinvey.RequestId=5466d9dbc49b4485ac17687faa082017}}, NSLocalizedDescription=Error Deleting file, id='577c08aa-c3a5-4d85-80c0-12a4a5b79419'}
Thanks in advance!
Best Answer
N
Nissi Vieira Miranda
said
about 7 years ago
Hi Pranav, sorry the delay. I've already solved the problem: if you set file as globally writable when you save it, then anyone can delete it.
Nissi Vieira Miranda
My function (Swift):
Response Log:
Error Domain=KCSResourceErrorDomain Code=401 "Error Deleting file, id='577c08aa-c3a5-4d85-80c0-12a4a5b79419'" UserInfo={NSUnderlyingError=0x15d08a80 {Error Domain=KCSServerErrorDomain Code=401 "The credentials used to authenticate this request are not authorized to run this operation. Please retry your request with appropriate credentials" UserInfo={Kinvey.kinveyErrorCode=InsufficientCredentials, NSLocalizedFailureReason=, NSLocalizedDescription=The credentials used to authenticate this request are not authorized to run this operation. Please retry your request with appropriate credentials, KinveyKit.HTTPMethod=DELETE, NSErrorFailingURLKey=https://baas.kinvey.com/blob/kid_bkctkcwMmW/577c08aa-c3a5-4d85-80c0-12a4a5b79419, Kinvey.RequestId=5466d9dbc49b4485ac17687faa082017}}, NSLocalizedDescription=Error Deleting file, id='577c08aa-c3a5-4d85-80c0-12a4a5b79419'}
Thanks in advance!
Hi Pranav, sorry the delay. I've already solved the problem: if you set file as globally writable when you save it, then anyone can delete it.
Thank you,
Nissi
- Oldest First
- Popular
- Newest First
Sorted by Newest FirstNissi Vieira Miranda
Hi Pranav, sorry the delay. I've already solved the problem: if you set file as globally writable when you save it, then anyone can delete it.
Thank you,
Nissi
Pranav J
Are you trying to delete the file using the same account as the owner of the file (user who uploaded the file)?
Thanks,
Pranav
Kinvey Support
-
Why do I get "Undefined symbols" errors when building with KinveyKit?
-
How do I register push tokens?
-
When using social login, to perform a log-out, do I need to log out of the social network, Kinvey, o
-
How can I assign additional properties to users?
-
Does KinveyKit support 64-bit ARM devices, such as iPhone 5s?
-
Authorization Token Invalid or Expired
-
BOOL and how it is stored in the database.
-
Offline saving throwing errors
-
Custom endpoint not able to form request object
-
Security through business logic
See all 437 topics