Nadav Yeheskel
04/06/2026, 2:49 PMDevRev
04/06/2026, 2:50 PMis not authorized to perform: sts:AssumeRole errors.
• Permissions issue — the credentials used may no longer have write access to the destination bucket/index/endpoint.
• Destination service outage — the third-party service itself may be returning 5xx errors intermittently.
### How to Diagnose
1. Check the logs of the destination service to see if there are any specific error messages that can provide more context.
2. Verify the credentials being used for the connection to ensure they are valid and have the necessary permissions.
3. Test the endpoint manually (e.g., using Postman or curl) to confirm it is reachable and responding correctly.
4. Review the configuration of the connector in Descope to ensure all settings are correct.
5. Monitor the service status of the third-party destination to check for any ongoing outages or issues.
### Additional Resources
• Audit Trail Streaming
• AWS S3 Connector
• Audit & Troubleshooting ConnectorsAkash Jivane
04/06/2026, 4:14 PMNadav Yeheskel
04/06/2026, 5:09 PMAditya Arakal
04/06/2026, 5:33 PMNadav Yeheskel
04/08/2026, 10:16 AMAkash Jivane
04/08/2026, 2:52 PMCI2xdaHyzajd0YVcFtcjZ3bcibVUu) is consistently returning a 422 Validation Error from your backend:
{
"code": 422,
"type": "VALIDATION_ERROR",
"message": "Parameter validation error: /: must have required property 'events'"
}
Your backend endpoint expects the audit payload to be wrapped in an events property, but the data being sent doesn't match that structure. Since the 422 is a client-side error from your backend's validation, the connector keeps failing and auto-pausing — which is why resuming it doesn't stick.
For fixing this issue you will need to update your backend webhook handler to accept the payload format that Descope sends, or add a mapping/transformation layer to wrap incoming data in the events field your schema requires.
Let me know if this works for you!Nadav Yeheskel
04/09/2026, 8:17 AMAkash Jivane
04/09/2026, 8:58 AMEach audit event is posted as an individual JSON object, like this:{
"action": "FlowUpdated",
"actor_id": "<mailto:user@company.com|user@company.com>",
"occurred": "2024-01-15T14:30:22Z",
"device": "Desktop",
"browser": "Chrome",
"correlation_id": "3mQK1PFzv6FIsNKDhrOhQD5BfWq",
"data": { ... },
"os": "macOS",
"osVersion": "10.15.7"
}
What your backend is responding with (422):{ "code": 422, "type": "VALIDATION_ERROR", "message": "must have required property 'events'" }
*The mismatch*_:_ Your backend's schema expects the payload to be wrapped in an events key (e.g. { "events": { ... } }), but Descope sends the audit event object directly at the root level.
To fix this, you'll need to update your webhook handler to accept the root-level format that Descope sends — either by removing the events requirement from your schema, or by adding a lightweight adapter/transformation layer in front of your endpoint that wraps the incoming payload before it hits your validator.Nadav Yeheskel
04/09/2026, 9:05 AMNadav Yeheskel
04/09/2026, 9:10 AMAkash Jivane
04/09/2026, 9:22 AMNadav Yeheskel
04/09/2026, 9:51 AM