
JS145201 (Community Member) asked a question.
During testing, we found that our API Endpoints are returning 401 Unauthorized responses when using the supplied OAuth2 Client Credentials. This may be due to the token expiring during scan.
We may need to configure a Scriptable Request Modification (SRM) in our Scan Configuration to ensure our scan will not fail.
Anyone has any experience or developed SRM script based on the below link?
https://docs.veracode.com/r/Example_Script_for_Scriptable_Request_Modification_Authentication
.png)
Hello @JS145201 (Community Member),
Thank you for reaching out to the Community.
With this issue, I would recommend opening a support ticket. You can open a support ticket within the Community. Simply click on your profile on the top right side of the screen and select "Contact Support". Or click on the link below.
Contact-Support
Best regards,
Steven
Veracode Support Engineer