You appear to be using a sourcebook from the wrong edition of D&D.
Based on your comment that you used an outdated version of the Player's Handbook to create an eladrin player character, and that it was rejected by three seperate DMs, it appears that you are attempting to use the D&D 4th edition Player's Handbook to create a character for a D&D 5th edition game.
You can't do this. D&D 5th edition characters can only be made with the D&D 5th edition rules and sourcebooks. The two rulesets are incompatible.
This is particularly important between 4th and 5th edition, as the rules changed so much between these editions of the rules that they're almost entirely different games.
For reference, the 4th edition Player's Handbook is the one subtitled "Arcane, Divine, and Martial Heroes". The front cover depicts a yellow-green lizardlike dragonborn fighter and a female spellcaster with a staff, and the book is credited at the bottom to Rob Heinsoo, Andy Collins, and James Wyatt.
In the earliest editions of D&D, particularly Advanced Dungeons & Dragons 1st and 2nd edition in the 1980s and 1990s, it was common for players to mix-and-match content from different editions of the rules in this manner. However, this practice is no longer commonplace, since rules now change so much between editions.
I recall a player in an online D&D 5th edition game I ran making a similar mistake. First, he attempted to play a psion, which turned out to be a fan-made content from dandwiki.com that he had mistaken for official. When I rejected this, he attempted to create a tiefling, but did not actually own the Player's Handbook, and used Google to find a D&D 4th edition D&D Insider PDF article of optional tiefling powers, which he mistook for 5e core rules and promptly added to his character sheet.
As KorvinStarmast's answer notes, however, you can play an eladrin ranger in D&D 5th edition; you just need to use the 5th edition version of rules to do it (in Mordenkainen's Tome of Foes or the Dungeon Master's Guide). Note that if you happen to play in official Adventurer's League groups, there's a limit to how many sourcebooks you can use to build one character. If you're not too attached to the eladrin and don't have access to these other sourcebooks, it may be simpler just to play one of the types of elves in the D&D 5th edition Player's Handbook.