Thanks to Alexander Stöhr on bird forum for help with the ID. https://www.birdforum.net/threads/redshank-in-thailand.437920/