If you receive an error such as "Access to your location is required for you to complete tasks", you will need to provide Location service access to the Task app.
Please follow this guide to check that the Task app has been given location access permission.
Please ensure you provide "High Accuracy" location tracking to Task. If you do not, you will not be able to complete tasks even though your location services are enabled.
Please check this document and confirm that the Task app has been given location access permission.