Authentication
”Not authenticated” error
Runpragma auth login to authenticate.
Token expired
Re-authenticate withpragma auth login.
Resources
Resource stuck in PENDING
Check if dependencies are inready state:
ready. A resource with unready dependencies waits in pending until all dependencies are satisfied.
If all dependencies are ready but the resource is still pending, re-apply it:
Resource stuck in PROCESSING
Resources inprocessing state are being handled by a provider. If a resource stays in this state longer than expected:
- Wait — pragma-os automatically detects stuck resources and retries them
- Check the dead letter queue — If retries are exhausted, the resource moves to
failed:
- Re-apply — Force a new processing attempt:
Resource failed
Check the error message:Resource not updating after dependency change
If a resource isn’t updating after its dependency changed, check theresolved_config:
config (your declaration) with resolved_config (what the provider received). If resolved_config still shows old values, the dependency change may not have propagated yet — verify the dependency is in ready state.
Deletion not working
If a resource won’t delete:- Resource in
failedstate — Failed resources can still be deleted. Check for errors:
-
Resource in
processingstate — Wait for the current operation to complete, then try deleting again. - Delete from YAML — Use the file-based delete to remove multiple resources:
File Uploads
File upload fails
When using@path syntax for pragma/file resources:
- Verify the file exists at the specified path (relative to the YAML file’s directory)
- Ensure
content_typeis specified in the config — it’s required for file uploads - Check the file size is within the platform’s limits
File resource stuck in FAILED
If apragma/file resource fails with “File content not uploaded”:
- The file resource was created but the file content wasn’t uploaded yet
- Re-apply the resource with the
@pathsyntax to trigger the upload:
Dead Letter Events
Events piling up
Check dead letter queue:Bulk cleanup
Clear all dead letter events for a provider after resolving the issues:Provider Development
”Could not detect provider package”
Run commands from the provider directory, or specify--package: