# Passbolt lookup failed: Failed to fetch resource '.....'. HTTP 403. Passbolt lookup failed: Failed to fetch resource '....'. HTTP 403"

**URL:** <https://community.passbolt.com/t/passbolt-lookup-failed-failed-to-fetch-resource-http-403-passbolt-lookup-failed-failed-to-fetch-resource-http-403/14796>\
**Category:** Installation Issues\
**Created:** [September 30, 2026, 4:13am UTC](https://community.passbolt.com/t/passbolt-lookup-failed-failed-to-fetch-resource-http-403-passbolt-lookup-failed-failed-to-fetch-resource-http-403/14796 "2026-09-30T04:13:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![olivier.s](https://avatars.discourse-cdn.com/v4/letter/o/0ea827/32.png) [@olivier.s](https://community.passbolt.com/u/olivier.s)\
**Post date:** [September 30, 2026, 4:13am UTC](https://community.passbolt.com/t/passbolt-lookup-failed-failed-to-fetch-resource-http-403-passbolt-lookup-failed-failed-to-fetch-resource-http-403/14796/1 "2026-09-30T04:13:01Z")

</div>

**Checklist**  
 I have read intro post: [https://community.passbolt.com/t/about-the-installation-issues-category/12](https://community.passbolt.com/t/about-the-installation-issues-category/12)  
 I have read the tutorials, help and searched for similar issues  
 I provide relevant information about my server (component names and versions, etc.)  
 I provide a copy of my logs and healthcheck  
 I describe the steps I have taken to trouble shoot the problem  
 I describe the steps on how to reproduce the issue

---

<div class="post-metadata">

**Author:** ![olivier.s](https://avatars.discourse-cdn.com/v4/letter/o/0ea827/32.png) [@olivier.s](https://community.passbolt.com/u/olivier.s)\
**Post date:** [September 30, 2026, 4:19am UTC](https://community.passbolt.com/t/passbolt-lookup-failed-failed-to-fetch-resource-http-403-passbolt-lookup-failed-failed-to-fetch-resource-http-403/14796/2 "2026-09-30T04:19:19Z")

</div>

Hello,

I am trying to use passbolt lookup plugin [https://github.com/passbolt/passbolt-ansible-lookup-plugin](https://github.com/passbolt/passbolt-ansible-lookup-plugin)

I have the following error :

exception during Jinja2 execution: Traceback (most recent call last):  
File “/home/admin/.ansible/collections/ansible\_collections/passbolt/passbolt\_lookup/plugins/lookup/passbolt\_lookup.py”, line 155, in run  
resource = passbolt\_api\_client.get\_resource(resource\_uuid).to\_dict()  
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
File “/home/admin/.ansible/collections/ansible\_collections/passbolt/passbolt\_lookup/plugins/module\_utils/passbolt/passbolt\_api\_client.py”, line 100, in get\_resource  
resource\_body = self.\_fetch\_resource(id)  
^^^^^^^^^^^^^^^^^^^^^^^^  
File “/home/admin/.ansible/collections/ansible\_collections/passbolt/passbolt\_lookup/plugins/module\_utils/passbolt/passbolt\_api\_client.py”, line 234, in \_fetch\_resource  
raise RuntimeError(  
RuntimeError: Failed to fetch resource ‘…’. HTTP 403

During handling of the above exception, another exception occurred:

Traceback (most recent call last):  
File “/usr/lib/python3/dist-packages/ansible/template/ **init**.py”, line 816, in \_lookup  
ran = instance.run(loop\_terms, variables=self.\_available\_variables, \*\*kwargs)  
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
File “/home/admin/.ansible/collections/ansible\_collections/passbolt/passbolt\_lookup/plugins/lookup/passbolt\_lookup.py”, line 164, in run  
raise AnsibleError(“Passbolt lookup failed: %s” % e)  
ansible.errors.AnsibleError: Passbolt lookup failed: Failed to fetch resource ‘…’. HTTP 403  
fatal: [AVMCVMA → localhost]: FAILED! =\> {  
“msg”: “An unhandled exception occurred while running the lookup plugin ‘passbolt.passbolt\_lookup.passbolt\_lookup’. Error was a \<class ‘ansible.errors.AnsibleError’\>, original message: Passbolt lookup failed: Failed to fetch resource ‘…’. HTTP 403. Passbolt lookup failed: Failed to fetch resource ‘…’. HTTP 403”  
}

Playbook task:

```auto
  ansible.builtin.set_fact:
    ansible_password: >-
      {{ lookup('passbolt.passbolt_lookup.passbolt_lookup', '{{ passbolt_uuid }}', skip_ssl_verification=true) }}
  delegate_to: localhost

```

Any idea where I should look at to troubleshoot this ?
