Please read this message on formatting your posts.
Are the EUIs and the AppKey the same? Did you check on the correct byte order to enter them in the code? (In the TTN gateway page you can see both EUIs when an OTAA request is received, do those match the information on the device page?)