Hello! I was able to use Alpaca's paper end point with OAuth through REST console but when I tried the same with the sdk, it returned "access token is not authorized for this scope". After some digging, it turned out the sdk was hitting the live end point instead of paper, when OAuth is enabled regardless of paper: true in the credentials. It's working now.
Hello! I was able to use Alpaca's paper end point with OAuth through REST console but when I tried the same with the sdk, it returned
"access token is not authorized for this scope"
. After some digging, it turned out the sdk was hitting the live end point instead of paper, when OAuth is enabled regardless ofpaper: true
in the credentials. It's working now.