Unfiltered access to metadata export requires super user

Getting this 409 error when I call an API to pull lastUpdated organisationUnits from DHIS2 version 2.35.5:

{"httpStatus":"Conflict","httpStatusCode":409,"status":"ERROR","message":"Unfiltered access to metadata export requires super user or 'F_METADATA_EXPORT' authority."}

Just recently started coming up , likely after the DHIs2 version was updated.

Is it that the user I am using to pull the data via the api does not have the F_METADATA_EXPORT authority?

Welcome to the community @ndethi!

Most probably yes, would you please check if the user you are using has the authority or not? Check your_Instance_URL/api/me?fields=authorities