Why Is "projectId in token is nil" Returned When I Call an API?
The possible cause is that the project used for obtaining a user token does not match the project used for calling a Live API. Live is a project-level service, which is deployed in specific physical regions.
For example, if the endpoint for obtaining the token is CN North-Beijing4, the token takes effect only in this region and can be used to authenticate the calling of Live APIs in the CN North-Beijing4 region only. In addition, the value of project_id must be cn-north-4. For details about how to obtain a project ID, see Obtaining a Project ID.
API Usage FAQs
- What Is the Token for Calling Live APIs?
- Why Does the System Display a Message Indicating that the API Does Not Exist When I Call an API?
- Why Is "projectId in token is nil" Returned When I Call an API?
- Why Is "The token must be updated" Returned When I Call an API?
- Why Is a Message Stating "APIG.0301" Displayed When a VOD API Is Called?
- How Can I Query the Peak Number of Concurrent Recording Channels in a Month?
- Why Do I Receive Only the Recording Completion Callback But Not the Recording Start Callback After Configuring Recording Callbacks?
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbotmore