I am getting an ntewtork error from their server on application launch reading
2014-03-27 16:46:05.356 C21[4222:60b] Failed to initialize gimbal Error Domain=QLRestTemplateErrorDomain Code=-1011 "Expected status code in (200-299), got 400" UserInfo=0x1700f3480 {NSLocalizedDescription=Expected status code in (200-299), got 400, QL_HTTP_STATUS_CODE=400, NSErrorFailingURLKey=https://ios.api.gimbal.com/service/rest/v4/user/28414345/application, NSLocalizedFailureReason={"statusCode":10000,"errorMessage":"Application verification failed. Invalid com.iBeek.C21 for application with package com.iBeek.C21"}}
2014-03-27 16:46:05:359 C21[4222:60b] Error Occoured:Expected status code in (200-299), got 400
2014-03-27 16:46:05:501 C21[4222:60b] Error Occoured:Expected status code in (200-299), got 400
2014-03-27 16:46:06.018 C21[4222:9403] QLDDLogFileInfo: creationDate(log-03272014-164606.txt): getattrlist result = -1
It looks like the verification failed but checked all the API keys and they were right. Not sure whats causing this.
Related
We have a java application that connects to ExactOnline for performing the operations.
The connection works fine for almost 9days and then it will start complaining about the below exception:
"Request from start.exactonline.nl returned an error (response code: 400, response: { "error":"invalid_grant","error_description":"Token is not allowed, because of invalid or empty chainId"
After encountering this error we have to force re-authorize the application by the user to get the new accessToken.
Now I am getting the below error as well:
"Request to token endpoint https://start.exactonline.nl/api/oauth2/token"
Any help would be appreciated.
The error message it's background and the solutions are explained at https://forums.invantive.com/t/exact-online-error-token-is-not-allowed-because-of-invalid-or-empty-chainid-on-exact-online/2226
I'm getting these errors after downloading and running the YouTubeAndroidPlayerApi.jar demo app
logs from IDEA
E/Volley: [1054] axb.a: Unexpected response code 400 for https://www.googleapis.com/youtubei/v1/player?key=AIzaSyCjc_pVEDi4qsv5MtC2dMXzpIaDoRFLsxw&id=wKJ9KzGQq0w&t=xUuh7B2jySQ3
E/Volley: [1043] axb.a: Unexpected response code 400 for https://www.googleapis.com/youtubei/v1/next?key=AIzaSyCjc_pVEDi4qsv5MtC2dMXzpIaDoRFLsxw&asig=BlUgXBq_ty3hax4TufEh1Njvq5MjlzJYhP2O1m2KUQM
In some devices all works fine, but in some of them I'm getting these errors and seeing such result error screen in the app
I'm trying to run Google-Play-Games iOS sample ButtonClicker2000 project on Real Device.
(quickstart: https://developers.google.com/games/services/ios/quickstart downloads: https://developers.google.com/games/services/downloads/)
The process of signing in to GooglePlayService does not show any
error.
I'm sure that my google console project setted up correctly.
I don't have any problem when launching on emulator
BUT on a real device (it doesn't matter on iphone or ipad) when i click on quick match button i get this error (at the bottom):
INFO: Auth operation started: SIGN IN
NFO: Auth operation SIGN IN finished with status VALID
ERROR: Attempting to get name of an invalid Player
ERROR: Attempting to get avatar URL of an invalid Player
ERROR: Attempting to get id of an invalid Player
ERROR: Attempting to get title of an invalid Player
ERROR: Attempting to get current xp of an invalid Player
ERROR: Attempting to get last level up timestamp of an invalid Player
ERROR: Attempting to get current level of an invalid Player
ERROR: Attempting to get level number of an invalid PlayerLevel
ERROR: Attempting to get minimum xp of an invalid PlayerLevel
ERROR: Attempting to get maximum xp of an invalid PlayerLevel
ERROR: Attempting to get next level of an invalid Player<br/>
ERROR: Attempting to get level number of an invalid PlayerLevel
ERROR: Attempting to get minimum xp of an invalid PlayerLevel
ERROR: Attempting to get maximum xp of an invalid PlayerLevel
[Core] (Error) __49-[GPGService executeOperation:completionHandler:]_block_invoke:[main] Server Operation Failed [appstate.states.list]
Error: The operation couldn’t be completed. (Insufficient Permission)
Error Full: Error Domain=com.google.GTLJSONRPCErrorDomain Code=403 "The operation couldn’t be completed. (Insufficient Permission)" UserInfo=0x1758e420 {error=Insufficient Permission, GTLStructuredError=GTLErrorObject 0x175b2e00: {message:"Insufficient Permission" code:403 data:[1]}, NSLocalizedFailureReason=(Insufficient Permission)}
GooglePlayGames finished signing in!
VERBOSE: Automatically seeded snapshot cache.
VERBOSE: Automatically seeded achievement cache.
VERBOSE: Automatically seeded event cache.
Showing a RTRVC with max players of 4
Unbalanced calls to begin/end appearance transitions for <GPGLauncherWindowRootViewController: 0x176cb3c0>.
**INFO: Connect with retry.getRetryAuthToken(): 1
INFO: Token expired. Refreshing.
libc++abi.dylib: terminating with uncaught exception of type std::__1::system_error: condition_variable::timed wait: mutex not locked: Operation not permitted**
How can i fix this bug? Any help is really appreciated
Eventually i've found working solution for this issue. I don't know when exactly but google's guys added "objective c" headers for C++ SDK. These headers are kind of bindings for C++. So the C++ SDK became drag-and-dropable.
We've just started receiving weird errors from the YouTube API, as follows:
{u'error': {u'code': 500, u'message': u'Unknown error occurred on the server.', u'errors': [{u'domain': u'global', u'message': u'Unknown error occurred on the server.', u'reason': u'internalError'}]}}
We're calling the https://www.googleapis.com/youtube/analytics/v1/reports endpoint. Does anyone know what this could be? As it's returning a 500 error code it would suggest that there is an actual bug / crash at the YouTube end?
Any direction / assistance on this would be much appreciated.
Thanks,
Ben
500 errors are backend errors. That could be a transient error. We'll act on it and if it persists.
I'm using tastypie for a REST interface in django, from Xcode I can call the server and get data successfully using RestKit however I cannot POST data. I know it's hitting the right area as I had a 401 then turned on authentication() in django and that problem was solved, now I'm receiving a 501 Not Implemented Error. I've also manually added the detail and list_allowed_methods to allow all forms POST/GET/ETC. I've Googled and overflowed to no avail! Help!
Here's the code I'm using for POSTING (I'm new to RestKit so be gentle)
RKObjectManager *manager = [RKObjectManager managerWithBaseURL:[NSURL URLWithString:#"http://127.0.0.1:8000/api/v1/"]];
RKObjectMapping *lotRequestMapping = [RKObjectMapping requestMapping];
[lotRequestMapping addAttributeMappingsFromDictionary:#{#"status" : #"parking_availability"}];
RKResponseDescriptor *lotResponseDescriptor = [RKResponseDescriptor responseDescriptorWithMapping:lotRequestMapping
pathPattern:#"parkinglot/:primaryKey/"
keyPath:nil
statusCodes:RKStatusCodeIndexSetForClass(RKStatusCodeClassSuccessful)];
Screenshot -
Here's the Error
See Screenshot
Text from Screenshot
2012-12-19 13:23:26.145 Parkable[36586:4b07] I
restkit.network:RKHTTPRequestOperation.m:143 POST
'http://127.0.0.1:8000/api/v1/parkinglot/22/?format=json' 2012-12-19
13:23:26.158 Parkable[36586:3807] E
restkit.network:RKHTTPRequestOperation.m:156 POST
'http://127.0.0.1:8000/api/v1/parkinglot/22/?format=json' (501 Not
Implemented): Error Domain=AFNetworkingErrorDomain Code=-1011
"Expected status code in (200-299,400-499), got 501"
UserInfo=0x9170260
{AFNetworkingOperationFailingURLRequestErrorKey=http://127.0.0.1:8000/api/v1/parkinglot/22/?format=json>,
NSErrorFailingURLKey=http://127.0.0.1:8000/api/v1/parkinglot/22/?format=json,
NSLocalizedDescription=Expected status code in (200-299,400-499), got
501,
AFNetworkingOperationFailingURLResponseErrorKey=} 2012-12-19 13:23:26.158 Parkable[36586:4b07] E
restkit.network:RKObjectRequestOperation.m:271 Object request failed:
Underlying HTTP request operation failed with error: Error
Domain=AFNetworkingErrorDomain Code=-1011 "Expected status code in
(200-299,400-499), got 501" UserInfo=0x9470f10
{AFNetworkingOperationFailingURLRequestErrorKey=http://127.0.0.1:8000/api/v1/parkinglot/22/?format=json>,
NSErrorFailingURLKey=http://127.0.0.1:8000/api/v1/parkinglot/22/?format=json,
NSLocalizedDescription=Expected status code in (200-299,400-499), got
501,
AFNetworkingOperationFailingURLResponseErrorKey=} 2012-12-19 13:23:26.159 Parkable[36586:c07] failure -
Error Domain=AFNetworkingErrorDomain Code=-1011 "Expected status code
in (200-299,400-499), got 501" UserInfo=0x9470f10
{AFNetworkingOperationFailingURLRequestErrorKey=http://127.0.0.1:8000/api/v1/parkinglot/22/?format=json>,
NSErrorFailingURLKey=http://127.0.0.1:8000/api/v1/parkinglot/22/?format=json,
NSLocalizedDescription=Expected status code in (200-299,400-499), got
501,
AFNetworkingOperationFailingURLResponseErrorKey=}
To answer my own question the 501 error went away after adding in the
class UserResource(ModelResource):
to the resources.py file and registering it with urls.py
v1_api.register(UserResource())