Web API > Library Metadata only contains a GUID on the second call?

I'm sure this must be a quirk of my system, but has anyone else encountered an issue when getting item specific metadata whereby the guid attribute doesn't exist.

 

I have written a short python script to loop through all films in a section and grab the IMDB id from the guid field, except it didn't work and whenever I looked at the web call myself afterwards I couldn't see what the issue was.

 

I repeated it by calling the metadata url manually and observing that the guid only arrived on the second call to that page

 

example url (although obviously yours would be different) 

 

http://127.0.0.1:32400/library/metadata/2397

 

Any thoughts (other than calling it twice in my code!)?

I do not use python, but a Windows command line tool to pull an http page and it works fine for me the first time.  Is the guid the only field blank?

Thanks for the reply. It wasn’t blank, it was absent. It only did it in 1 library (a film library) another film library worked fine. I’ve just put it down to my environment.