Troubleshooting

To request API credentials, email a request to worldtennisnumber@usta.com 

Overview

The following are a few of the common problems that developers encounter when using the USTA Connect API.

Invalid JOSE Headers… Error

If you encounter ‘Invalid JOSE Header…’ errors, there are usually one of two problems that can occur:

  1. Missing, expired or malformed JWT token. Check that your token is being passed as a Bearer token. You can check it it is valid at jwt.io.

  2. Hitting the wrong environment. Check the that you are hitting the environment that corresponds to your credentials ie Stage vs Prod.

There are different urls for requesting tokens (Authorization Service) and making api calls (Application Service).

Authorization Service:

  • Stage: https://stage-account.usta.com

  • Prod: https://account.usta.com

Application Service:

  • Stage: https://stage-services.usta.com

  • Prod: https://services.usta.com

 

Documentation

Swagger Documentation