401 Client Error when trying to list open orders via REST API

I get the following error:

Error: 401 Client Error: Unauthorized for url:
https://api.coinbase.com/api/v3/brokerage/orders/historical/batch?order_status=OPEN

I can successfully list ALL orders if the url doesn’t include the “?order_status=OPEN”, but when I try to add the additional text to the request url I get the error. Not sure why.

Make sure you are not including query parameters when you generate signature.