V3 Payload decoder query

Having had the payload formatter and decoder working correctly on V2 (GPS Node showing on TTN mapper ) , now I have registered my GW to V3.
I have populated the V3 payload format fields with the decoder script that worked on V2 and added the “adapter” to the bottom of said script . The adapter was taken from
https://www.thethingsnetwork.org/community/munich/post/using-ttn-v2-payload-decode-functions-with-ttn-v3

The odd thing is a few weeks back the decoder worked on V3, however it now refuses to decode the payload.
Has anything changed in V3 recently that would produce this result or could it be I have some codeing wrong.
I can confirm the payload decoder alone works on V2 .

Any help would be greatly appreciated .