Help Center> Video On Demand> FAQs> APIs and SDKs> How Do I Fix the Error of "Failed to verify the tenant ID" When I Call a VOD API?
Updated on 2022-10-24 GMT+08:00

How Do I Fix the Error of "Failed to verify the tenant ID" When I Call a VOD API?

The possible causes are as follows:

  • The scope of the token obtained by calling the IAM API is set to domain (global-level service). Because VOD is a project-level service, the scope needs to be changed to project.
  • The project ID used to call the IAM API for obtaining the token is different from that used for calling the VOD API. You can call the VOD API by referring to Getting Started.

APIs and SDKs FAQs

more