{"timestamp":"2022-12-20T02:38:37.818+00:00","status":500,"error":"Internal Server Error","path":"/api/auth/tks/get_token"}%
I’ve double-checked that I’m using the correct username/password for the basic auth string (i.e., its what I use to login to https://marketplace.deweydata.io). I also get the same server response for any username/pw.
I’ve also tried downloading file list using basic auth (following tutorial), and I always get a blank response regardless of auth string.
Just now I was able to get my access token and files via API. Could you run through the linked tool and verify that it works for you? That will help pinpoint where the issue is coming in.
Thanks.
Update: This was quoting issue in both shell and request. The following works:
## zsh / debian linux
dewey_pass=$(echo -n "username:password" | openssl base64)
curl -X POST "https://marketplace.deweydata.io/api/auth/tks/get_token" -H "Authorization: Basic $dewey_pass"
Request: Can you check the following line in the “How to Access Files…” tutorial? It doesn’t make sense without additional context, and I believe should be replaced with something like the above (see my comment at the bottom of that page):