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.
I'm using KCSFileStore uploadData and I want to receive a valid url download link from [uploadInfo remoteURL] but instead, I receive a link with ?GoogleAccessId=xxxx... etc that can't be accesed.
When I click on the click, I get SignatureDoesNotMatch and " The request signature we calculated does not match the signature you provided. Check your Google secret key and signing method. ".
However, If I remove all the characters that are after "?" the link is valid, it works.
v3ga
When I click on the click, I get
SignatureDoesNotMatch
and " The request signature we calculated does not match the signature you provided. Check your Google secret key and signing method. ".However, If I remove all the characters that are after "?" the link is valid, it works.
Here is where I upload the photo:
- (void)uploadPhotoWithData:(NSData*)photoData WithCompletionBlock:(KCSFileUploadCompletionBlock)completionBlock
{
KCSMetadata* metadata = [[KCSMetadata alloc] init]; // make the image findable by al users
[metadata setGloballyReadable:YES];
[KCSFileStore uploadData:photoData options:@{KCSFilePublic : @(YES),
KCSFileFileName : @"myFile.ext",
KCSFileMimeType : @"image/jpeg",
KCSFileACL : metadata}
completionBlock:^(KCSFile *uploadInfo, NSError *error) {
if (completionBlock) {
completionBlock(uploadInfo, error);
}
NSLog(@"Upload finished. File id='%@', error='%@'.", [uploadInfo fileId], error);
} progressBlock:nil];
}
And here is where I get the url.
[KnvyM uploadPhotoWithData:self.photoData WithCompletionBlock:^(KCSFile *uploadInfo, NSError *error) {
if (error == nil){
[[KCSUser activeUser] setValue:[uploadInfo fileId] forAttribute:@"photo_url"];
[[KCSUser activeUser] setValue:[uploadInfo fileId] forAttribute:@"photo_download_url"];
[[KCSUser activeUser] saveWithCompletionBlock:^(NSArray *objectsOrNil, NSError *errorOrNil)
{ ... }];
}];