Forest cannot authenticate the user for this request in prod and localhost

To use this endpoint you will have to use an authentification token.
Here is a thread explaining how you could do it.

Best regards,

Shohan