Upon the successful confirmation of a transaction submission, my app immediately queries the link to the transaction in the response. But I often receive a 404 error from Horizon. Sometimes I get a valid response.
I could only surmise that this inconsistent behavior is due to the fact that the transaction had not yet propagated Horizon when the queries that returned a 404 error were made. I'd like to know.
I have another transaction that has 4 operations in it, and I do not seem to get similar errors from that, perhaps due to the longer time that it takes to process the transaction(?).
I am using the Horizon testnet, Heroku, node.js, and axios to query.