--HR-261 Modification to solve insufficient API permission alert