N
Novu2mo ago
Vivek

Integration API : check flag

We're trying to use integration API (https://docs.novu.co/api-reference/integrations/create-integration) where we're posting integration to be used on the fly. However when wrong credentials are given with check flag as true then API is failing with below response - "Internal server error, contact support and provide them with the errorId" => however if we provide correct credentials it's giving correct response. Is there any way to know if this error is due to wrong credentials or it can be other type of errors too?
Novu
Create integration - Novu
Create an integration for the current environment the user is based on the API key provided
2 Replies
Pawan Jain
Pawan Jain2mo ago
@Vivek remove the check flag option
Vivek
VivekOP2mo ago
@Pawan Jain thanks for quick response. I've verified working with API by removing check flag, but in that case even with wrong credential integration is getting created in the novu system. (which will not be useful for sending communication due to invalid details) So is there any way to find out incorrect credential programatically via response code or any other API calls to novu?
Want results from more Discord servers?
Add your server