Log in to your Document360 account to give feedback

Feature Request

Anonymous

Consistent user_id validation errors across write endpoints
When a write operation is called with an invalid or stale user_id, some endpoints return a generic error that does not identify user_id as the cause. Users running automated pipelines cannot distinguish a user_id validation failure from other operation errors, which makes the root cause difficult to identify without manual investigation. Workaround Limitations: Users must rule out all other possible causes (endpoint path, token permissions, payload structure) before identifying an invalid user_id as the root cause. No actionable information in the error response points to user_id as the field to check. Requested Solution: All endpoints that accept user_id as a required field should return a specific 400 validation error when the provided user_id does not exist in the project. Specifically: Return a description that identifies user_id as the invalid field (for example: "The user with id 'xyz' does not exist in your project."). Apply this validation response consistently across all write endpoints that accept user_id, not only the fork endpoint. Benefits: Reduces time to identify the root cause of failed write operations in automated pipelines. Improves consistency of error messaging across the API surface. Use Cases: CI/CD pipelines automating content updates, integrations passing user IDs from external identity systems, teams maintaining long-running automation where team membership changes over time.
2
·
API
·
under review
Load More