Error(0,h.requestMetadata) is not a function

You literally need to give it administrator rights thanks for the answer