我正在接受服务电话
"可选(错误域= com.google.GTLJSONRPCErrorDomain代码= 404 \"(未找到)\" UserInfo = {error =未找到,NSLocalizedFailureReason =(未找到),GTLStructuredError = GTLErrorObject 0x600000655870:{message:\" Not Found \" data:[1] code:404}})"
可能是什么原因?
类如下
@implementation GTLServiceMovier
- (instancetype)init {
self = [super init];
if (self) {
// Version from discovery.
self.apiVersion = @"v2";
self.rpcURL = [NSURL URLWithString:SERVER_URL]
}
return self;
}
@end
+ (instancetype)queryForSmartMovieWithObject:(GTLSmartMovieEndApiModelResult *)object {
if (object == nil) {
GTL_DEBUG_ASSERT(object != nil, @"%@ got a nil object", NSStringFromSelector(_cmd));
return nil;
}
NSString *methodName = @"mvi.get.movies.start";
SmartMovieQuery *query = [self queryWithMethodName:methodName];
query.bodyObject = object;
query.expectedObjectClass = [GTLSmartMovieEndApiModelResult class];
return query;
}