Overview
This page outlines common issues and solutions for the Gracenote Video MCP Server.
Authentication Issues
Cannot Authenticate / NotAuthorizedException
Symptoms:
- Login fails with "NotAuthorizedException"
- "Invalid username or password" error
Solutions:
- Verify your Cognito credentials are correct
- Check username and password for typos
- Ensure client ID and client secret are correct
- Confirm your account has been activated by Gracenote
- Contact your Gracenote representative if credentials are lost
Code Example:
Code
Token Expired / 401 Unauthorized
Symptoms:
- "401 Unauthorized" error
- "Token expired" message
- Authentication works initially but fails after 1 hour
Solutions:
- Tokens expire after 1 hour - implement token refresh
- Get a new token before making requests
- Implement automatic token refresh for long-running processes
Code Example:
The GracenoteClient from mcp_utils.py handles token refresh automatically. If building a custom client, implement refresh like this:
Code
UserNotConfirmedException
Symptoms:
- "User not confirmed" error
- Cannot log in despite having credentials
Solutions:
- Contact Gracenote to confirm your user account
- Verify onboarding process is complete
- Check with your Gracenote representative
Connection Issues
Connection Timeout
Symptoms:
- Connection times out
- Cannot reach MCP Server
- Network errors
Solutions:
- Verify MCP_SERVER_HOST is correct
- Verify MCP_SERVER_PORT is correct (typically 443)
- Check network connectivity
- Ensure firewall allows HTTPS traffic on port 443
- Test with
curlor similar tool:Code
SSL/TLS Errors
Symptoms:
- SSL certificate errors
- TLS handshake failures
Solutions:
- Ensure you're using HTTPS (not HTTP) for port 443
- Update SSL certificates on your system
- Check system time is correct (affects certificate validation)
- Contact support if certificate issues persist
Query Issues
No Results Returned
Symptoms:
- LLM queries return empty results
- "No matches found" for valid titles
Solutions:
- Verify content type is supported (movies, series, episodes only)
- Check language and country codes are correct
- Try with fewer search parameters
- Check for typos in title names
- Verify content is available in the specified country
Example:
Code
Unexpected Results
Symptoms:
- Wrong titles returned
- Low confidence matches
- Irrelevant results
Solutions:
- Encourage users to provide more specific information (year, cast, genre) in their queries
- Check language/country codes match your intent
- Review query for ambiguity
- Try alternate title spellings
Note: Your LLM automatically extracts parameters from user queries. More specific user input leads to better results.
Performance Issues
Slow Response Times
Symptoms:
- Queries take longer than expected
- Timeouts on complex queries
Solutions:
- Check network latency to MCP Server
- Simplify queries where possible
- Monitor usage in Customer Console
- Contact support if consistent slow performance
Data Issues
Missing Images
Symptoms:
- Image URLs return 404
- Images not loading
Solutions:
- Verify MediaCloud subdomain is correct
- Check image URL format
- Ensure image hasn't expired
- Remember: Image URLs are demo only - cache locally for production
Incorrect Availability Data
Symptoms:
- Availability doesn't match expectations
- Missing streaming services
Solutions:
- Remember: Availability is "today" only (current availability)
- Check country code is correct
- Verify streaming service is not an entitled catalog
- Note: Linear TV and FAST channels are excluded
Wrong Language Version
Symptoms:
- Getting wrong language metadata
- Unexpected language in results
Solutions:
- Verify language parameter is correct
- Check if using general language (matches all variants) vs. locale-specific
- Use locale-specific tags for exact matching (e.g., "pt-BR" for Brazilian Portuguese, not just "pt")
Console Issues
Cannot Access Customer Console
Symptoms:
- Cannot log in to console
- Console URL not working
Solutions:
- Verify console URL with Gracenote representative
- Check login credentials
- Clear browser cache and cookies
- Try different browser
- Contact support for access issues
Data Not Appearing in Console
Symptoms:
- Usage data missing
- Billing information not showing
Solutions:
- Check data currency (near-real time, may have slight delay)
- Verify date range filters
- Refresh browser
- Wait a few minutes for data to sync
- Contact support if data is consistently missing
Integration Issues
LLM Not Calling Tools
Symptoms:
- LLM not using MCP tools
- Queries not grounded with Gracenote data
Solutions:
- Verify MCP client is properly connected
- Check System Prompt configuration
- Ensure LLM has access to tool descriptions
- Review Architecture
- Test with Demo to verify server is working
Tool Call Errors
Symptoms:
- "Invalid input" errors
- "Maximum count exceeded" errors
Solutions:
- Review error message for specific guidance
- Verify the MCP Server is receiving properly formatted requests
- Check for count limit violations (e.g., max 3 cast members)
- Ensure required parameters are provided
- Your LLM should self-correct based on error messages
Note: Your LLM handles parameter formatting automatically. These errors typically indicate the LLM needs adjustment in its system prompt or the user query needs clarification.
Getting Help
Before Contacting Support
- Check this troubleshooting guide
- Review relevant documentation pages
- Export usage/call data if applicable
- Note error messages and timestamps
- Try to reproduce the issue
How to Contact Support
Contact your assigned account manager, and include the following information:
- ClientId
- Timestamp of issue
- Error messages (exact text)
- Steps to reproduce
- Expected vs. actual behavior
- Call details (if applicable)
- Screenshots (if relevant)