I am getting the following error when calling getAccountDetails using the iOS SDK:

parsingResponseFailed(message: "The data couldn’t be read because it is missing.")

Here is my code. This should use testnet:

StellarSDK().accounts.getAccountDetails(accountId: accountId) { (response) -> (Void) in

The StellarSDK class is initialized using the testnet url:

public class StellarSDK: NSObject {

    public var horizonURL: String

    public override init() {
        horizonURL = "https://horizon-testnet.stellar.org"

And the account is visible on the testnet when called through the Stellar lab:


Any idea why I'm getting this error?


1 Answer 1


Yes, it's because of the missing paging token. A new release (1.6.6) is now available that fixes that issue.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.