Troubleshooting
Common fixes for installation, authentication, and runtime problems when working with RAPSπΌRAPSRust CLI for Autodesk Platform Services.View in glossary.
Installation issues
- CommandβΆοΈCommandInstruction executed by a CLI tool.View in glossary not found β confirm
rapsis on yourPATH. On Windows, reopen your terminalπ₯οΈTerminalApplication for running command-line programs.View in glossary after Scoop/PowerShell installs; on macOS/Linux ensure/usr/local/binor your chosen install directory is inPATH. - Outdated binary β run
raps --versionand reinstall from Releases or your package manager if the version is below the one referenced in docs/blog posts. - Missing SSL certificates β containerπ¦ContainerIsolated, portable application environment.View in glossary images or minimal distros may not ship CA bundles. Install
ca-certificates(Debian/Ubuntu) orca-certificates-utils(Arch) to allow OAuthπOAuthIndustry-standard authorization protocol used by APS.View in glossary traffic.
Authentication problems
- Invalid client credentialsπ€2-legged authServer-to-server authentication without user context.View in glossary β re-copy the
APS_CLIENT_IDandAPS_CLIENT_SECRETfrom the APS Developer Portal and runraps auth test. Clipboard whitespace or swapped values are the most common causes of401responses. - Device code timeouts β if SSO approval takes too long, use
raps auth login --force-pkceto trigger an interactive PKCE flow in the browser instead of the device code loop. - Multiple profiles β
raps config profile listshows which profileπ€ProfileNamed set of configuration settings.View in glossary is active. Useraps config profile use staging(or another name) before running commands to avoid mixing sandbox and production tokens.
Authorization and permissions
- 403 Forbidden β verify the APSβοΈAPSAutodesk Platform Services - cloud APIs for CAD/BIM automation.View in glossary app has the correct scopes for the APIπAPIInterface for software components to communicate.View in glossary you are calling. For bucketπͺ£BucketContainer for storing objects in OSS.View in glossary/object operations you typically need
data:read,data:write, andbucket:createscopes. - ACCποΈACCAutodesk's construction management platform.View in glossary/BIM 360π΅BIM 360Legacy Autodesk construction platform (predecessor to ACC).View in glossary access β ensure the APS app is added to the BIMποΈBIMIntelligent 3D model-based design for buildings.View in glossary 360 account with the right role. Without admin approval, folder or issue queries will return empty lists.
- Region mismatches β list your buckets with
raps bucket list --region usor--region emeato ensure uploads and translations happen in the correct region.
Security and token storage (v3.7.0+)
- KeychainπKeychainSecure OS storage for credentials.View in glossary access errors β if you get βaccess deniedβ errors with keychain storage, run
raps config set use_keychain falseto temporarily use file storage while diagnosing keychain issues. - TokenποΈTokenCredential for API authentication.View in glossary migration β when upgrading from v3.6.x or earlier, run
raps config migrate-tokensto move existing tokens from file storage to secure keychain storage. - Headless environments β in Dockerπ³DockerContainer platform for consistent environments.View in glossary containers or CIπCI/CDAutomated build, test, and deployment pipelines.View in glossary environments without keychain support, use
RAPS_USE_FILE_STORAGE=trueenvironment variableπEnvironment VariableConfiguration value passed to applications.View in glossary to enable file-based token storage.
Workflow reliability
- Large uploads β switchπ©FlagOptional parameter modifying command behavior.View in glossary to multipart uploads with
raps object upload my-bucket model.rvt --multipart --chunk-size 16MBto avoid timeouts over slow networks. - TranslationβοΈTranslation JobBackground process converting CAD files to viewable formats.View in glossary stuck in pending β use
raps translate status $URN --wait --interval 10to poll and surface errors. If status stays pending, re-run with the correct input format flag (e.g.,--format svf2). - CI/CD flakiness β enable verbose logs with
RAPS_LOG=debugin your workflowπWorkflowAutomated process triggered by events.View in glossary and check for retryable HTTPπHTTPProtocol for web communication.View in glossary codes. Standardized exit codes (raps --help exit-codes) help fail fast in pipelines.
Batch upload resume (v4.5)
- State file location β batch upload state is saved in
~/.config/raps/batch-state.json(Linux/macOS) or%APPDATA%\raps\batch-state.json(Windows). - Stale state β if
--resumefails with βno matching stateβ, delete the state file manually and start fresh. - Partial failures β when some files fail in a batch, state is saved automatically. Re-run with
--resumeto retry only failed files. - Different bucket β resume only works for the same bucket and file set. Changing the target bucket requires a fresh upload.
Getting help
If issues persist, open a GitHub issue with your OS, RAPS version, and a minimal command that reproduces the problem. Sanitizing secrets before sharing logs keeps credentials safe.