# Apigee - Generate Token

**URL:** <https://discuss.google.dev/t/apigee-generate-token/155767>\
**Category:** Apigee\
**Tags:** apigee-x\
**Created:** [May 29, 2024, 4:32am UTC](https://discuss.google.dev/t/apigee-generate-token/155767 "2024-05-29T04:32:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![padmanabhamv](https://d3byx8b92xw3lq.cloudfront.net/user_avatar/discuss.google.dev/padmanabhamv/32/12541_2.png) [@padmanabhamv](https://discuss.google.dev/u/padmanabhamv)\
**Post date:** [May 29, 2024, 4:32am UTC](https://discuss.google.dev/t/apigee-generate-token/155767/1 "2024-05-29T04:32:49Z")

</div>

Based on your YouTube video, i have created same services and able to generate the token using oauth2-cc service, when i pass that token to the loopback service i am getting the error below. please advise?

[https://www.youtube.com/watch?v=Z4FTSqJOJlo&t=376s](https://www.youtube.com/watch?v=Z4FTSqJOJlo&t=376s)

[https://apigee-dev.trellix.com/loopback/v1](https://apigee-dev.trellix.com/loopback/v1)

{  
“fault”: {  
“faultstring”: “Invalid API call as no apiproduct match found”,  
“detail”: {  
“errorcode”: “keymanagement.service.InvalidAPICallAsNoApiProductMatchFound”  
}  
}  
}

---

<div class="post-metadata">

**Author:** ![sanugu](https://d3byx8b92xw3lq.cloudfront.net/user_avatar/discuss.google.dev/sanugu/32/1109_2.png) [@sanugu](https://discuss.google.dev/u/sanugu)\
**Post date:** [August 20, 2024, 6:23pm UTC](https://discuss.google.dev/t/apigee-generate-token/155767/2 "2024-08-20T18:23:23Z")

</div>

1. Create an API Product: You would need to bundle your resources into an API Product

2. Create an App

3. Have the Association between App and the API product approved.

---

<div class="post-metadata">

**Author:** ![dchiesa1](https://d3byx8b92xw3lq.cloudfront.net/user_avatar/discuss.google.dev/dchiesa1/32/15641_2.png) [@dchiesa1](https://discuss.google.dev/u/dchiesa1)\
**Post date:** [August 21, 2024, 2:51pm UTC](https://discuss.google.dev/t/apigee-generate-token/155767/3 "2024-08-21T14:51:45Z")

</div>

ya, there is a section in the screencast OP referred to, that you need to go through.

This part: [https://www.youtube.com/watch?v=Z4FTSqJOJlo&t=625s](https://www.youtube.com/watch?v=Z4FTSqJOJlo&t=625s)

The UI in the current Apigee admin console (Google Cloud console based) is different, but the idea is the same.
