Why is one computer generating a 401 unauthorized error, but not the other

I’m developing a personal application using the coinbase pro api. The order’s endpoint is not functioning on one computer, but is working fine on the other while using the same cloned repository. Is it possible that coinbase pro banned the IP address of one of my computers? Also, all endpoints were working fine on both computers until this afternoon, and both computers use the same API key.

The error is: 401 Unauthorized.

Resolved the issue. The timestamp on the home computer was slightly off. This lead to an expired request timestamp… which caused the unauthorized error. Syncing the computer’s time fixed the issue. Found the solution here:

4 Likes

Hello @hypermodern , glad to hear that the issue is now resolved. Thanks for letting us know!

3 Likes