And you also have guys who claim 2nd Peter wasn’t written by Peter. I’m not saying that the Protoevangelium is Scripture. I’m saying it has roots in Christian traditions at the time.
But those “guys” who claim 2 Peter wasn’t written by Peter are liberal “scholars” who are oblivious to antiquity. The epistle of Jude was also written in the first century, states he received his info from the apostles, and cites 2 Peter extensively. Plus, second Peter has internal evidence it was God-breathed (lack of errors and contradictions with prior and later Scripture, used in early liturgy, first century apostolic authorship, etc.).
The same cannot be said about The Protoevangelium of James. It was written mid to late second century, therefore no first century apostolic authorship, falsely claims to have been written by James the Just who had been
DEAD for 100-150 years, it contains errors and contradictions with prior inspired Scripture, and it was acknowledged early in the church as a false gospel.
So, even though there are some truths recorded in it, we would hardly compare it to the level of a 2 Peter in terms of its historical reliability, or use it as an early reliable source to base doctrine on. Unlike 2 Peter which was clearly first century written by the apostle, Proto-James was written far too late, as even Jimmy Akin from Catholic Answer attests, to use it as an reliable, authoritative source for doctrine.