I would like to start working with the SmartSheet API, but I'm having difficulty getting even simple requests to work. Having generated an API token, if I try:
curl -i -H "Authorization: Bearer $SMARTSHEET_API_TOKEN" https://api.smartsheet.com/2.0/sheets/
I get:
HTTP/2 500
date: Tue, 05 Aug 2025 14:21:24 GMT
content-type: application/json
content-length: 175
x-smar-halo-version: 4290727
x-smar-halo-release: l
strict-transport-security: max-age=31536000; includeSubDomains
server: halo
{"errorCode": 4004, "message": "An unexpected error has occurred. Please retry your request. If you encounter this error repeatedly, please contact smartsheet for assistance"}
This is the same response I get for pretty much any API request. It doesn't seem to be a credentials issue; if I try the same thing with an invalid token I get:
HTTP/2 401
date: Tue, 05 Aug 2025 14:23:44 GMT
content-type: application/json;charset=UTF-8
server: halo
x-content-type-options: nosniff
x-xss-protection: 1; mode=block
referrer-policy: strict-origin-when-cross-origin
www-authenticate: Basic realm="API"
vary: Accept-Encoding
x-envoy-upstream-service-time: 11
x-smar-halo-version: 4290727
x-smar-halo-release: l
strict-transport-security: max-age=31536000; includeSubDomains
{
"errorCode" : 1002,
"message" : "Your Access Token is invalid.",
"refId" : "cuh0gu"
}
…which is what I expect. I'm not sure what to do about that 500 error.