Skip to content

Getting "rate limited" trying to authenticate for the first time #2971

Discussion options

You must be logged in to vote

I'm sort of ashamed to admit this, but ultimately the problem was that I was setting the environment variables as a prefix to the curl command rather than explicitly exporting them prior.

This works:

export BLUESKY_HANDLE="..."
export BLUESKY_PASSWORD="..."
export BLUESKY_PDS_HOST="https://bsky.social"
curl --request POST --header "Content-type: application/json" --location --url "https://bsky.social/xrpc/com.atproto.server.createSession" --data-raw "{\"identifier\":\"${BLUESKY_HANDLE}\",\"password\":\"${BLUESKY_PASSWORD}\"}"                                                                                                                   

where BLUESKY_HANDLE is the full handle (e.g. foo.…

Replies: 5 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@krisalyssa
Comment options

Answer selected by krisalyssa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants