You have not committed a sin of any kind because you had no intent to sin at all. You made an honest to God mistake and wound up in an Anglican Church rather than a Catholic one. You prayed to Jesus, you gave Jesus your love and attention, you acted justly in the situation.
Hopefully by your prayers the Anglican community will be blessed by God. Jesus does have sheep ‘who are not of this flock’, remember that.
I suppose by now it is too late to go to Mass, don’t worry about that, you did not intend to miss Mass. To observe the Sabbath you must go to Mass, but you did not intend to not observe the Sabbath; God knows that, so don’t worry about it.
Next Sunday go to Mass at a Catholic Church and offer your Eucharist for those people at the Anglican Church (they do not have the Real Presence).
Don’t worry

Say the words and prayers of the Mass at home by yourself this Sunday and make spiritual communion with Jesus.
In the Living Prayer of my life
p.s Years ago I went on a particular holiday and searched high and low for a Catholic Church, I walked miles on behalf of my family (I can’t drive) and still couldn’t find it and I had directions and a map, but still I couldn’t find it. I set out again the next day and still didn’t find it so I missed Mass on Sunday not because I wanted to but because I couldn’t find the Church. I went back to my accomodation, lit a candle infront of my Crucifix and said the prayers of the Mass ommitting the Priests words of consecration with my family and made spiritual communion with Jesus.
Do you think God will reject me after I walked miles to try and find His Real Presence and sorrowfully had to go home unsuccessful? No He won’t. God does not put the Law above Love, but Love is above the Law.