2

I am testing the Accounts endpoint on the Horizon testnet API. On this documentation page, there is the sample address:

GA2HGBJIJKI6O4XEM7CZWY5PS6GKSXL6D34ERAJYQSPYA6X6AI7HYW36

Which when plugged into the example here I get this error message:

{
  "type": "https://stellar.org/horizon-errors/not_found",
  "title": "Resource Missing",
  "status": 404,
  "detail": "The resource at the url requested was not found.  This is usually occurs for one of two reasons:  The url requested is not valid, or no data in our database could be found with the parameters provided."
}

My personal address doesn't work either. But some account IDs do work (in this example, the donation address at the bottom of StellarChain.io.

All of these addresses exist and work just fine on StellarChain.io. Am I missing something?

2 Answers 2

1

As Oliver mentioned, testnet & public are separated.

The key is valid for both net, but some are "created" (funded) only at one of the two for the moment.

I just funded it at testnet, so you can get a proper response with this key now. enter image description here

2

Ah, some accounts exist on public and not on the testnet api.

Your Answer

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

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