buildasaurs / XcodeServerSDK

Access Xcode Server API with native Swift objects.
MIT License
399 stars 30 forks source link

Call to server.getIntegrations fails with 400 Error #127

Closed kdawgwilk closed 8 years ago

kdawgwilk commented 8 years ago

This statement is spitting out errors to the console not sure why

server.getIntegrations { integrations, error in
                if let firstIntegration = integrations?.first {
                    print(firstIntegration.buildResultSummary!.testsCount)
                } else {
                    print("Error: \(error?.description)")
                }
            }

I get this in the console:

Error: Optional("Error Domain=com.honzadvorsky.Buildasaur Code=0 \"Wrong body Optional({\n    message = \"unable to parse the query string\";\n    status = 400;\n})\" UserInfo={NSLocalizedDescription=Wrong body Optional({\n    message = \"unable to parse the query string\";\n    status = 400;\n})}")
czechboy0 commented 8 years ago

Oh hey @kdawgwilk, sorry for completely not responding here. This looks like we're sending a wrong URL parameter to XCS. Are you still seeing this?

czechboy0 commented 8 years ago

I wonder if that has anything to do with https://github.com/fastlane/fastlane/pull/1067

czechboy0 commented 8 years ago

Hey @kdawgwilk, are you still seeing the issue?

czechboy0 commented 8 years ago

Closing as there hasn't been any activity for a long time. Please reopen if you see this issue again. 👍