Intermediate6 min
Troubleshooting Authentication
Common authentication issues and how to fix them.
OAuth Issues
"Authorization Failed"
Causes:
- Popup was blocked
- User denied access
- Invalid OAuth configuration
Solutions:
- Allow popups for our domain
- Try connecting again
- Approve all requested permissions
- Check OAuth credentials are correct
"Token Expired"
Causes:
- Refresh token invalid
- User revoked access
- Service requires re-auth
Solutions:
- Click Refresh on the connection
- If that fails, disconnect and reconnect
- Check you haven't revoked access in the external service
"Insufficient Permissions"
Causes:
- Missing required scopes
- User doesn't have access
- Organization restrictions
Solutions:
- Disconnect the integration
- Reconnect and approve additional scopes
- Contact your organization admin
"Redirect URI Mismatch"
Causes:
- Wrong callback URL configured
- Missing redirect URI in app settings
Solutions:
- Go to external service's developer console
- Add our redirect URI:
https://api.specway.com/oauth/callback - Save and retry
API Key Issues
"Invalid API Key"
Causes:
- Typo in key
- Key was revoked
- Key expired
Solutions:
- Copy key again from source
- Check key status in external service
- Generate new key if needed
"Unauthorized"
Causes:
- Key location wrong (header vs query)
- Wrong header name
- Missing key prefix
Solutions:
- Check API documentation for correct format
- Verify header name matches
- Add prefix if required (e.g.,
Bearer)
"Rate Limited"
Causes:
- Too many requests
- Key has low limits
Solutions:
- Add delays in workflows
- Reduce concurrent executions
- Upgrade API plan for higher limits
Connection Errors
"Connection Refused"
Causes:
- Service is down
- Firewall blocking
- Wrong URL
Solutions:
- Check service status page
- Verify URL is correct
- Test URL in browser
- Check if IP allowlisting needed
"Timeout"
Causes:
- Slow API response
- Network issues
- Large payload
Solutions:
- Increase timeout setting
- Check network connectivity
- Reduce request size
- Contact API provider
"SSL Certificate Error"
Causes:
- Expired certificate
- Self-signed certificate
- Certificate mismatch
Solutions:
- Report to API provider
- Check if they have a different URL
- For internal APIs, configure certificate
Service-Specific Issues
Slack
"missing_scope"
- Reconnect with additional permissions
- Your workspace may require admin approval
"channel_not_found"
- Bot needs to be invited to channel
- Check channel ID is correct
"Access blocked"
- App may need verification
- Check Google security settings
- Try with different Google account
"Quota exceeded"
- Check Google Cloud quotas
- Reduce API usage
- Request quota increase
GitHub
"Bad credentials"
- Token may have expired
- Check token permissions
- Generate new personal access token
"Resource not accessible"
- Need additional permissions
- Check repository access
- Verify organization access
Debugging Steps
1. Check Credential Status
- Go to Settings > Credentials
- Find the credential
- Check status indicator
- View error details
2. Test the Connection
- Click Test on the credential
- View the response
- Check for error messages
3. Review Workflow Logs
- Open failed workflow execution
- Find the failed node
- View error details
- Check request/response
4. Check External Service
- Log into external service
- Verify credentials are valid
- Check for service issues
- Review access permissions
Getting Help
If issues persist:
- Gather information:
- Error message
- Service name
- Steps to reproduce
- Check support articles
- Contact support with details
Next Steps
- OAuth Connections - Setup guide
- API Key Management - Managing keys
- Credential Management - Overview
Tags
integrationstroubleshootingauthentication