# Question about calling clipboard API

**URL:** https://forums.creativeclouddeveloper.com/t/question-about-calling-clipboard-api/3778
**Category:** UXP Plugin API
**Created:** [October 22, 2021, 8:21am UTC](https://forums.creativeclouddeveloper.com/t/question-about-calling-clipboard-api/3778 "2021-10-22T08:21:57Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![robinwx](https://avatars.discourse-cdn.com/v4/letter/r/f07891/32.png) [@robinwx](https://forums.creativeclouddeveloper.com/u/robinwx)
#### Post date: [October 22, 2021, 8:21am UTC](https://forums.creativeclouddeveloper.com/t/question-about-calling-clipboard-api/3778/1 "2021-10-22T08:21:57Z")

</div>

Photoshop Version 22.5.1  
UXP Version 5.2.0

I want to use Clipboard API and trigger manifest version error  
so I switch “manifestVersion” from 4 to 5, but the Uncaught Error still exist  
change like:  
“manifestVersion”: 4, → “manifestVersion”: 5,

I have restart My PS & UXP, and remove&reload the plugin, quiet sure the ‘5’ version is taking effect

I am fresh in developping uxp plugin, forgive me, and how can I debug this question?

 ![screenshot-20211022-160800](https://us1.discourse-cdn.com/flex015/uploads/xdplugins/original/2X/1/1fcf7a7dc76f678e9ba6e9970b8dbf43324e9cd1.png)

---

<div class="post-metadata">

### Author: ![robinwx](https://avatars.discourse-cdn.com/v4/letter/r/f07891/32.png) [@robinwx](https://forums.creativeclouddeveloper.com/u/robinwx)
#### Post date: [October 27, 2021, 7:00am UTC](https://forums.creativeclouddeveloper.com/t/question-about-calling-clipboard-api/3778/2 "2021-10-27T07:00:07Z")

</div>

I found the solution in [alchemist/manifest.json at master · jardicc/alchemist · GitHub](https://github.com/jardicc/alchemist/blob/master/uxp/manifest.json#L14)

1. need to upgrade manifest.manifestVersion to 5
2. add requiredPermissions.clipboard config (pretty like chrome extension)

then it works!
