Photos are not continually accessible!!sometimes the body of the api is empty
Then you should check the id again for correct one. You should also check the hotel with provided id on hotels.com whether or not it is available.
yeah it’s exactly what i work with , but sometimes it fetches an empty array for Photos …
Why don’t you give me some ids as example? I cannot help you with such useless information.
Join in the discussion - add comment below: