Server timeout exception

Hi , I am trying to call method http://myopenhab.org/rest/things/{thingID} , this is put request, and in body i am passing :-
{
“location”:“Location”
}
header are :- Content-Type- application/Json and basic authorizarion

I am getting 504 Gateway Time-out everytime i call this url

what went wrong ??? I am not understanding , please help

It has been reported in other threads that some of the REST API calls related to Things appear to not work through myopenhab.org. It should work from your LAN.

what i can do so that it should work with myopenhab.org.

Fix the code and submit it in a PR to the openHAB Cloud project. It is a bug. There is nothing short of fixing the bug that you can do.